summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-03-10 03:01:09 +0000
committerhubertf <hubertf>2003-03-10 03:01:09 +0000
commit3ede624cc977947dc7acac048ccc95542136dc79 (patch)
treefe03f1b8f9fe559fe7712684aacd634a684f8c8e /net
parent93b88f6273d612039929ed03bb3376d00da1c29f (diff)
downloadpkgsrc-3ede624cc977947dc7acac048ccc95542136dc79.tar.gz
Make the USE_INET6/IPV6H handling a bit more readable.
(won't fix PR 20019 though...)
Diffstat (limited to 'net')
-rw-r--r--net/bind9/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index d9598675b95..30b5a772b5a 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2003/03/05 05:40:45 hubertf Exp $
+# $NetBSD: Makefile,v 1.47 2003/03/10 03:01:09 hubertf Exp $
#
DISTNAME= bind-${BIND_VERSION}
@@ -42,9 +42,10 @@ post-build:
<${FILESDIR}/lwresd.sh >${WRKDIR}/lwresd
# include/isc/ipv6.h is installed on non-ipv6 platforms
-IPV6H= ""
-.if defined(USE_INET6) && ${USE_INET6} == "YES"
+.if defined(USE_INET6) && (${USE_INET6} == "YES")
IPV6H= "@comment "
+.else
+IPV6H= ""
.endif
PLIST_SUBST+= IPV6H=${IPV6H}