summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-04-01 21:33:05 +0000
committertron <tron@pkgsrc.org>2007-04-01 21:33:05 +0000
commit1e65ee8c3c7711a6cfaeae6bfbaacacb61d0a5fa (patch)
tree6ad3161011a048210310313bf126dc13f294820b /security
parent47036fe032290eb79536d193fd44542e7adc23e0 (diff)
downloadpkgsrc-1e65ee8c3c7711a6cfaeae6bfbaacacb61d0a5fa.tar.gz
Add ${BUILDLINK_LDFLAGS.dlcompat} (defined as "-ldl") to "LDFLAGS" under
Mac OS X. This is harmless under recent versions of Mac OS X where "libdl.dylib" is symbolic link to "libSystem.dylib". And it is necessary under old versions of Mac OS X (Jaguar and older) where we need the "libdl.dylib" from the "dlcompat" package. This should finally fix PR pkg/36086 by John D. Baker.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index bdccfdb60b9..af13d67addf 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2007/03/26 11:44:18 tron Exp $
+# $NetBSD: Makefile,v 1.120 2007/04/01 21:33:05 tron Exp $
OPENSSL_SNAPSHOT?= # empty
OPENSSL_STABLE?= # empty
@@ -101,6 +101,8 @@ PKG_SYSCONFDIR.openssl?= /etc/openssl
.if ${OPSYS} == "Darwin"
.include "../../devel/dlcompat/buildlink3.mk"
+
+LDFLAGS+= ${BUILDLINK_LDFLAGS.dlcompat}
.endif
PKG_SYSCONFSUBDIR= openssl