Bläddra i källkod

Remove bind, db, gdbm and iconv from optional library checks

Thomas Lotterer 24 år sedan
förälder
incheckning
bdb8f36547
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      perl/perl.spec

+ 4 - 1
perl/perl.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [CORE]
 Group:        Language
 License:      GPL/Artistic
 Version:      5.6.1
-Release:      20020810
+Release:      20020826
 
 #   list of sources
 Source0:      ftp://ftp.cpan.org/pub/CPAN/src/%{name}-%{version}.tar.gz
@@ -64,6 +64,9 @@ AutoReqProv:  no
     #   Solaris ld is GNU ld and horribly horses up...
     %{l_shtool} subst -e 's;ld: Software Generation Utilities;ld: So;g' hints/solaris_2.sh
 
+    #   Remove bind, db, gdbm and iconv from optional library checks
+    %{l_shtool} subst -e 's;\(.*for thislib in $libswanted.*\);libswanted=`echo " $libswanted " | sed -e "s/ bind / /g" -e "s/ db / /g" -e "s/ gdbm / /g" -e "s/ iconv / /g"`\; \1;' Configure 
+
 %build
     #   Eval hack for obsolete Linux versions (like Debian 2.2) with too old
     #   binutils where our GCC 3.0 makes trouble on Perl loading DSO based modules.