diff options
author | dholland <dholland@pkgsrc.org> | 2015-07-12 05:36:50 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-07-12 05:36:50 +0000 |
commit | aa062432b6e7c92302f22b517883dde6a7f168b1 (patch) | |
tree | b2a9b4f6e255f74c67dcd9083f349fa6b9045861 /net | |
parent | 22922418458c73b3bf11edd64a6598e07cbb6b5b (diff) | |
download | pkgsrc-aa062432b6e7c92302f22b517883dde6a7f168b1.tar.gz |
Sync the logic that decides whether to pull in openssl with the makefile
logic that decides whether to use -lcrypto. These need to stay the same
to avoid the possibility of getting a silent dependence on a (possibly
very old) builtin openssl. Of course, all it uses -lcrypto for is MD5,
but still...
PKGREVISION -> 1.
XXX: this probably shouldn't be using MD5 anyway :-/
Diffstat (limited to 'net')
-rw-r--r-- | net/dtcpclient/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/dtcpclient/Makefile b/net/dtcpclient/Makefile index a82645c7bcb..2b8f2eec453 100644 --- a/net/dtcpclient/Makefile +++ b/net/dtcpclient/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.22 2015/07/12 05:31:47 dholland Exp $ +# $NetBSD: Makefile,v 1.23 2015/07/12 05:36:50 dholland Exp $ # DISTNAME= dtcpclient-20090812 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \ http://home.jp.FreeBSD.org/~ume/ipv6/ @@ -31,7 +32,13 @@ BUILD_DEFS+= VARBASE INSTALLATION_DIRS= ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 sbin .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "Darwin" + +# Keep this in sync with patch-aa, as that determines whether -lcrypto +# is used and if we get it wrong we'll get a silent dependency on +# builtin openssl on platforms where that exists, which isn't good. +.if ${OPSYS} != "NetBSD" || ${OPSYS} != "OpenBSD" || \ + ${OPSYS} != "FreeBSD" || ${OPSYS} != "DragonFly" .include "../../security/openssl/buildlink3.mk" .endif + .include "../../mk/bsd.pkg.mk" |