summaryrefslogtreecommitdiff
path: root/net/dtcpclient
diff options
context:
space:
mode:
authordholland <dholland>2015-07-12 05:36:50 +0000
committerdholland <dholland>2015-07-12 05:36:50 +0000
commitca2d92b3de398afb6bfeb788eb457c26e97693ec (patch)
treeb2a9b4f6e255f74c67dcd9083f349fa6b9045861 /net/dtcpclient
parent6ac7da3027d240f16a9a87c4e65eec8cf967ece8 (diff)
downloadpkgsrc-ca2d92b3de398afb6bfeb788eb457c26e97693ec.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/dtcpclient')
-rw-r--r--net/dtcpclient/Makefile11
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"