RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: rpm Date: 17-Jul-2007 09:07:47 Branch: HEAD Handle: 2007071708074600 Modified files: rpm configure.ac Log: simplify the cruel old RPM 4.x 'addlib' hack: if someone really wants to build RPM 5 on ancient Sun Solaris <= 7 he really should have to pass in those silly -R options himself. There is really no justification to carry around such hacks for such ancient platforms Summary: Revision Changes Path 2.190 +2 -6 rpm/configure.ac ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/configure.ac ============================================================================ $ cvs diff -u -r2.189 -r2.190 configure.ac --- rpm/configure.ac 17 Jul 2007 07:04:42 -0000 2.189 +++ rpm/configure.ac 17 Jul 2007 07:07:46 -0000 2.190 @@ -166,12 +166,8 @@ dnl # FIXME: old RPM 4.x style platform-specific flag extension hack addlib () { - l=$1 - shift - case "$target" in - *-*-solaris2.[234567] ) LIBS="$LIBS -L$l -R$l $*" ;; - * ) LIBS="$LIBS -L$l $*" ;; - esac + l=$1; shift + LIBS="$LIBS -L$l $*" } if test "$cross_compiling" != "yes" && \ test ".$prefix" != .NONE && \ @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org