Browse Source

workaround for brain-dead Solaris which has a /lib -> /usr/lib symlink

Ralf S. Engelschall 23 years ago
parent
commit
351817e3cd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      apache/apache.spec

+ 3 - 3
apache/apache.spec

@@ -143,7 +143,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20020916
+Release:      20020918
 
 #   list of sources
 Source0:      http://www.apache.org/dist/httpd/apache_%{V_apache}.tar.gz
@@ -685,11 +685,11 @@ AutoReqProv:  no
       libs=""
 %if "%{with_mod_auth_pam}" == "yes"
       pam_incdir=`%{l_prefix}/etc/rc --query pam_incdir`
-      if [ ".$pam_incdir" != "./usr/include" ]; then
+      if [ ".$pam_incdir" != "./usr/include" -o ".$pam_incdir" != "./include" ]; then
           cflags="$cflags -I$pam_incdir"
       fi
       pam_libdir=`%{l_prefix}/etc/rc --query pam_libdir`
-      if [ ".$pam_libdir" != "./usr/lib" ]; then
+      if [ ".$pam_libdir" != "./usr/lib" -o ".$pam_libdir" != "./lib" ]; then
           ldflags="$ldflags -L$pam_libdir"
       fi
       libs="$libs -lpam"