Ticket #13877: fix_for_pam_dependency.patch

File fix_for_pam_dependency.patch, 1.9 KB (added by seth_macports@…, 17 years ago)

per eridius@: an svn diff of changes to fix the pam dependency problem that is the source of the problem described in this ticket.

  • files/patch-configure

     
    1 --- configure.orig      2005-08-22 07:40:39.000000000 +0900
    2 +++ configure   2005-08-22 07:41:03.000000000 +0900
     1--- configure.orig      2004-06-30 01:04:12.000000000 -0700
     2+++ configure   2008-01-08 23:40:58.000000000 -0800
    33@@ -5036,7 +5036,7 @@
    44   echo "$as_me:$LINENO: checking for libssl" >&5
    55 echo $ECHO_N "checking for libssl... $ECHO_C" >&6
     
    1818     PAM_LDFLAGS="-L${p}"
    1919     echo "$as_me:$LINENO: result: found in ${p}" >&5
    2020 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=""
    2148@@ -5496,8 +5496,8 @@
    2249    { (exit 1); exit 1; }; }
    2350 
  • Portfile

     
    2525
    2626configure.args  --with-c-client=${prefix} \
    2727                                --with-openssl=${prefix} \
    28                                 --without-pam \
    2928                                --mandir=${prefix}/share/man
    3029configure.cppflags      "-I${prefix}/include/c-client"
    3130