Ticket #4610: mailsync.diff

File mailsync.diff, 2.0 KB (added by pguyot (Paul Guyot), 19 years ago)

Patch to fix the problem.

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/mailsync/Portfile,v
    retrieving revision 1.2
    diff -u -r1.2 Portfile
     
    44
    55name                    mailsync
    66version                 5.2.1
     7revision                1
    78categories              mail
    89platforms               darwin
    910maintainers             mww@opendarwin.org
     
    2425
    2526configure.args  --with-c-client=${prefix} \
    2627                                --with-openssl=${prefix} \
     28                                --without-pam \
    2729                                --mandir=${prefix}/share/man
     30
     31patchfiles              patch-configure
  • new file files/patch-configure

    - +  
     1--- configure.orig      2005-08-22 07:40:39.000000000 +0900
     2+++ configure   2005-08-22 07:41:03.000000000 +0900
     3@@ -5036,7 +5036,7 @@
     4   echo "$as_me:$LINENO: checking for libssl" >&5
     5 echo $ECHO_N "checking for libssl... $ECHO_C" >&6
     6   for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
     7-   if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
     8+   if test -r "${p}/libssl.a" -o -r "${p}/libssl.dylib" ; then
     9     OPENSSL_LDFLAGS="-L${p}"
     10     echo "$as_me:$LINENO: result: found in ${p}" >&5
     11 echo "${ECHO_T}found in ${p}" >&6
     12@@ -5328,7 +5328,7 @@
     13   echo "$as_me:$LINENO: checking for pam library" >&5
     14 echo $ECHO_N "checking for pam library... $ECHO_C" >&6
     15   for p in `eval "echo {${PAMLOCATIONS}}{/lib,/lib64}"` ; do
     16-   if test -r "${p}/libpam.a" -o -r "${p}/libpam.so" ; then
     17+   if test -r "${p}/libpam.a" -o -r "${p}/libpam.dylib" ; then
     18     PAM_LDFLAGS="-L${p}"
     19     echo "$as_me:$LINENO: result: found in ${p}" >&5
     20 echo "${ECHO_T}found in ${p}" >&6
     21@@ -5496,8 +5496,8 @@
     22    { (exit 1); exit 1; }; }
     23 
     24   else
     25-   SOP=".so,.a"
     26-   test "${PREFER_SO}" = "no" && SOP=".a,.so"
     27+   SOP=".dylib,.a"
     28+   test "${PREFER_SO}" = "no" && SOP=".a,.dylib"
     29 
     30             echo "$as_me:$LINENO: checking for c-client library" >&5
     31 echo $ECHO_N "checking for c-client library... $ECHO_C" >&6