summaryrefslogtreecommitdiff
path: root/net/bind9/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2003-03-10 03:01:09 +0000
committerhubertf <hubertf@pkgsrc.org>2003-03-10 03:01:09 +0000
commit6cfc737f9168d771c0558112a4d392edd01df74e (patch)
treefe03f1b8f9fe559fe7712684aacd634a684f8c8e /net/bind9/Makefile
parentff07ab9def58c862280d121a35108ad1cdfeab14 (diff)
downloadpkgsrc-6cfc737f9168d771c0558112a4d392edd01df74e.tar.gz
Make the USE_INET6/IPV6H handling a bit more readable.
(won't fix PR 20019 though...)
Diffstat (limited to 'net/bind9/Makefile')
-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}