From 351817e3cdeef9a18e48e02d87f98ab63bb8bebd Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 18 Sep 2002 08:12:20 +0000 Subject: [PATCH] workaround for brain-dead Solaris which has a /lib -> /usr/lib symlink --- apache/apache.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apache/apache.spec b/apache/apache.spec index 7529ebfb1b..7330674b41 100644 --- a/apache/apache.spec +++ b/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"