summaryrefslogtreecommitdiff
path: root/mail/mailsync/patches
diff options
context:
space:
mode:
authordbj <dbj>2008-04-20 22:47:15 +0000
committerdbj <dbj>2008-04-20 22:47:15 +0000
commitafd86da98be1cbb6dfcfde8935ebf3e9b0675033 (patch)
tree1e9da6a9d05c4b9fe6f7ad3b0febdafa1f47cbdc /mail/mailsync/patches
parent39bfb9a0beac4639f9b9890b12836c84cd267195 (diff)
downloadpkgsrc-afd86da98be1cbb6dfcfde8935ebf3e9b0675033.tar.gz
when looking for libssl, also consider .dylib suffix
Diffstat (limited to 'mail/mailsync/patches')
-rw-r--r--mail/mailsync/patches/patch-ac24
-rw-r--r--mail/mailsync/patches/patch-ad13
2 files changed, 26 insertions, 11 deletions
diff --git a/mail/mailsync/patches/patch-ac b/mail/mailsync/patches/patch-ac
index 14a2879cf63..cfd56f957e8 100644
--- a/mail/mailsync/patches/patch-ac
+++ b/mail/mailsync/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $
+$NetBSD: patch-ac,v 1.2 2008/04/20 22:47:15 dbj Exp $
---- configure.orig 2004-06-30 09:04:12.000000000 +0100
-+++ configure 2004-11-16 15:55:22.000000000 +0000
-@@ -5025,7 +5025,7 @@
+--- configure.orig 2004-06-30 01:04:12.000000000 -0700
++++ configure 2008-04-20 13:35:11.000000000 -0700
+@@ -5025,7 +5025,7 @@ if test "${with_openssl+set}" = set; the
if test "$withval" = "no" ; then
OPENSSLLOCATIONS=""
else
@@ -11,16 +11,18 @@ $NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $
fi
-@@ -5035,7 +5035,7 @@
+@@ -5035,8 +5035,8 @@ fi;
else
echo "$as_me:$LINENO: checking for libssl" >&5
echo $ECHO_N "checking for libssl... $ECHO_C" >&6
- for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
+- if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
+ for p in ${OPENSSLLOCATIONS} ; do
- if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
++ if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" -o -r "${p}/libssl.dylib" ; then
OPENSSL_LDFLAGS="-L${p}"
echo "$as_me:$LINENO: result: found in ${p}" >&5
-@@ -5190,7 +5190,7 @@
+ echo "${ECHO_T}found in ${p}" >&6
+@@ -5190,7 +5190,7 @@ fi
else
echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6
@@ -29,7 +31,7 @@ $NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $
if test -r "${p}/openssl/ssl.h" ; then
OPENSSL_INCLUDES="-I${p}"
echo "$as_me:$LINENO: result: found in ${p}" >&5
-@@ -5462,7 +5462,7 @@
+@@ -5462,7 +5462,7 @@ if test "${with_c_client+set}" = set; th
if test "$withval" = "no" ; then
CCLIENTLOCATIONS=""
else
@@ -38,7 +40,7 @@ $NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $
fi
-@@ -5477,7 +5477,7 @@
+@@ -5477,7 +5477,7 @@ echo "$as_me: error: a working c-client
echo "$as_me:$LINENO: checking for c-client.h" >&5
echo $ECHO_N "checking for c-client.h... $ECHO_C" >&6
@@ -47,7 +49,7 @@ $NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $
if test -r "${p}/c-client.h" -a -r "${p}/linkage.h" -a -r "${p}/linkage.c" ; then
CCLIENT_INCLUDES="-I${p}"
CCLIENT_LINKAGE_H="${p}/linkage.h"
-@@ -5501,11 +5501,11 @@
+@@ -5501,11 +5501,11 @@ echo "$as_me: error: a working c-client
echo "$as_me:$LINENO: checking for c-client library" >&5
echo $ECHO_N "checking for c-client library... $ECHO_C" >&6
@@ -61,7 +63,7 @@ $NetBSD: patch-ac,v 1.1 2004/11/16 18:56:46 adrianp Exp $
break
fi
done
-@@ -5533,7 +5533,7 @@
+@@ -5533,7 +5533,7 @@ _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "auth_gss" >/dev/null 2>&1; then
diff --git a/mail/mailsync/patches/patch-ad b/mail/mailsync/patches/patch-ad
new file mode 100644
index 00000000000..ae8503f07c1
--- /dev/null
+++ b/mail/mailsync/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2008/04/20 22:47:15 dbj Exp $
+
+--- aclocal.m4.orig 2004-06-30 01:04:06.000000000 -0700
++++ aclocal.m4 2008-04-20 13:35:19.000000000 -0700
+@@ -933,7 +933,7 @@ AC_DEFUN(AC_WITH_OPENSSL,[
+ else
+ AC_MSG_CHECKING([for libssl])
+ for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
+- if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
++ if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" -o -r "${p}/libssl.dylib" ; then
+ OPENSSL_LDFLAGS="-L${p}"
+ AC_MSG_RESULT([found in ${p}])
+ break