Quellcode durchsuchen

try to allow Perl to build under RHEL4/amd64 (attempt 2)

Ralf S. Engelschall vor 19 Jahren
Ursprung
Commit
1f96f73629
2 geänderte Dateien mit 7 neuen und 3 gelöschten Zeilen
  1. 2 1
      openpkg/HISTORY
  2. 5 2
      openpkg/openpkg.spec

+ 2 - 1
openpkg/HISTORY

@@ -2,8 +2,9 @@
 2006
 ====
 
+20060826 try to allow Perl to build under RHEL4/amd64 (attempt 2)
 20060826 upgrade to openpkg-tools 0.8.71
-20060825 cleanup build procedure of Perl
+20060825 cleanup build procedure of Perl to allow it to build under RHEL4/amd64 (attempt 1)
 20060825 cleanup and bring up-to-date the source tree documentation
 
 20060824 **** RELEASE AS PART OF OPENPKG 2.20060824 ***

+ 5 - 2
openpkg/openpkg.spec

@@ -749,6 +749,9 @@ Provides:     OpenPKG
       sh $shtool subst \
           -e 's; */usr/local/lib;;' \
           hints/freebsd.sh hints/netbsd.sh
+      libdirs="%{l_prefix}/lib"
+      libdirs="$libdirs /lib64 /usr/lib64"
+      libdirs="$libdirs /lib /usr/lib /usr/ccs/lib"
       ./Configure \
           -d -e -s \
           -Dprefix=%{l_prefix} \
@@ -761,8 +764,8 @@ Provides:     OpenPKG
           -Dlocincpth="%{l_prefix}/include" \
           -Dloclibpth="%{l_prefix}/lib" \
           -Dldflags="-L""%{l_prefix}/lib" \
-          -Dlibpth="%{l_prefix}/lib /lib /usr/lib /usr/ccs/lib" \
-          -Dglibpth="%{l_prefix}/lib /lib /usr/lib /usr/ccs/lib" \
+          -Dlibpth="$libdirs" \
+          -Dglibpth="$libdirs" \
           -Dscriptdir="%{l_prefix}/bin" \
           -Uinstallusrbinperl \
           -Ui_malloc -Ui_iconv -Ui_db