summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-10-01 22:58:17 +0000
committerwiz <wiz@pkgsrc.org>2014-10-01 22:58:17 +0000
commitb869a9b49afa6b04276386dd5221f8ce7ff36f44 (patch)
tree43553b3e377863746e0c367e93dfa2fc8d3b89b4 /security
parentc1e178c6b459f348409635a1aeb8d8d5474ff31b (diff)
downloadpkgsrc-b869a9b49afa6b04276386dd5221f8ce7ff36f44.tar.gz
Add -DUSE_STRERROR to BSD case.
From David Shao in PR 49250 for DragonFly BSD. Also tested on NetBSD-7.99.1.
Diffstat (limited to 'security')
-rw-r--r--security/tcp_wrappers/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tcp_wrappers/Makefile b/security/tcp_wrappers/Makefile
index 7844ffc1918..e149d4aadef 100644
--- a/security/tcp_wrappers/Makefile
+++ b/security/tcp_wrappers/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2014/07/18 10:34:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.39 2014/10/01 22:58:17 wiz Exp $
DISTNAME= tcp_wrappers_7.6-ipv6.4
PKGNAME= ${DISTNAME:S/_7.6-ipv6/-7.6/}
@@ -36,7 +36,7 @@ BUILD_TARGET= ${BUILD_TARGET.${OPSYS}}
.if !empty(PKG_OPTIONS:Minet6)
. if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
-MAKE_ENV+= IPV6="-DHAVE_IPV6 -DUSE_GETHOSTBYNAME2"
+MAKE_ENV+= IPV6="-DHAVE_IPV6 -DUSE_GETHOSTBYNAME2 -DUSE_STRERROR"
. elif ${OPSYS} != "Linux" && ${OPSYS} != "Interix"
MAKE_ENV+= IPV6=-DHAVE_IPV6
. endif