Ticket #13877: fix_for_pam_dependency.patch
File fix_for_pam_dependency.patch, 1.9 KB (added by seth_macports@…, 17 years ago) |
---|
-
files/patch-configure
1 --- configure.orig 200 5-08-22 07:40:39.000000000 +09002 +++ configure 200 5-08-22 07:41:03.000000000 +09001 --- configure.orig 2004-06-30 01:04:12.000000000 -0700 2 +++ configure 2008-01-08 23:40:58.000000000 -0800 3 3 @@ -5036,7 +5036,7 @@ 4 4 echo "$as_me:$LINENO: checking for libssl" >&5 5 5 echo $ECHO_N "checking for libssl... $ECHO_C" >&6 … … 18 18 PAM_LDFLAGS="-L${p}" 19 19 echo "$as_me:$LINENO: result: found in ${p}" >&5 20 20 echo "${ECHO_T}found in ${p}" >&6 21 @@ -5343,7 +5343,7 @@ 22 echo "$as_me:$LINENO: checking for pam headers" >&5 23 echo $ECHO_N "checking for pam headers... $ECHO_C" >&6 24 for p in `eval "echo {${PAMLOCATIONS}}{/include,/include/pam,,/pam}"` ; do 25 - if test -r "${p}/security/pam_appl.h" ; then 26 + if test -r "${p}/pam_appl.h"; then 27 PAM_INCLUDES="-I${p}" 28 echo "$as_me:$LINENO: result: found in ${p}" >&5 29 echo "${ECHO_T}found in ${p}" >&6 30 @@ -5374,7 +5374,7 @@ 31 cat >>conftest.$ac_ext <<_ACEOF 32 /* end confdefs.h. */ 33 34 - #include <security/pam_appl.h> 35 + #include <pam_appl.h> 36 main(int argc,char **argv) { 37 } 38 39 @@ -5447,7 +5447,7 @@ 40 41 42 43 - CCLIENTLOCATIONS="/usr,/usr/local" 44 + CCLIENTLOCATIONS="/usr,/usr/local,/opt/local" 45 HAVE_CCLIENT="no" 46 CCLIENT_LIBS="" 47 CCLIENT_INCLUDES="" 21 48 @@ -5496,8 +5496,8 @@ 22 49 { (exit 1); exit 1; }; } 23 50 -
Portfile
25 25 26 26 configure.args --with-c-client=${prefix} \ 27 27 --with-openssl=${prefix} \ 28 --without-pam \29 28 --mandir=${prefix}/share/man 30 29 configure.cppflags "-I${prefix}/include/c-client" 31 30