summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2007-04-01 21:33:05 +0000
committertron <tron>2007-04-01 21:33:05 +0000
commit3db333bb4b882e41669d3b83dba31a1247180058 (patch)
tree6ad3161011a048210310313bf126dc13f294820b
parent62d172c98d99601c5900f426a69229cdf0bcee36 (diff)
downloadpkgsrc-3db333bb4b882e41669d3b83dba31a1247180058.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.
-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