Changeset 99156


Ignore:
Timestamp:
Oct 28, 2012, 9:18:59 PM (7 years ago)
Author:
jmr@…
Message:

mailsync: fix build on 10.6+ (#36310)

Location:
trunk/dports/mail/mailsync
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/mailsync/Portfile

    r95108 r99156  
    3030configure.cppflags      "-I${prefix}/include/c-client"
    3131
    32 patchfiles              patch-configure
     32platform darwin {
     33    patchfiles-append           patch-configure
     34    if {${os.major} <= 9} {
     35        patchfiles-append   patch-configure-oldpam
     36    }
     37}
  • trunk/dports/mail/mailsync/files/patch-configure

    r32613 r99156  
    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=""
    4821@@ -5496,8 +5496,8 @@
    4922    { (exit 1); exit 1; }; }
Note: See TracChangeset for help on using the changeset viewer.