diff options
author | wiz <wiz> | 2014-10-01 22:58:17 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-10-01 22:58:17 +0000 |
commit | 97703a292e10b75f887a5d12d56f345697192d37 (patch) | |
tree | 43553b3e377863746e0c367e93dfa2fc8d3b89b4 | |
parent | 2f91672d520cadc3886856acb87f6a257c87dfa2 (diff) | |
download | pkgsrc-97703a292e10b75f887a5d12d56f345697192d37.tar.gz |
Add -DUSE_STRERROR to BSD case.
From David Shao in PR 49250 for DragonFly BSD. Also tested on NetBSD-7.99.1.
-rw-r--r-- | security/tcp_wrappers/Makefile | 4 |
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 |