From 1e65ee8c3c7711a6cfaeae6bfbaacacb61d0a5fa Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 1 Apr 2007 21:33:05 +0000 Subject: 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. --- security/openssl/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'security') 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 -- cgit v1.2.3