summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-12-28 10:30:07 +0000
committertron <tron@pkgsrc.org>2003-12-28 10:30:07 +0000
commit5f0f1b5c0a2f87a5e967b2a15650b23b50ccf00d (patch)
treed9e9470a5ae85b30a584ccfa12ad4b7aa998428e /net
parent428a4e388ca42ef68960cb2bb3e6648c6f29069c (diff)
downloadpkgsrc-5f0f1b5c0a2f87a5e967b2a15650b23b50ccf00d.tar.gz
Make "${IPV6H}" substitution in package list more efficient.
Diffstat (limited to 'net')
-rw-r--r--net/bind9/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index febdc1dc1d4..b9558db536f 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2003/11/12 03:39:41 jschauma Exp $
+# $NetBSD: Makefile,v 1.54 2003/12/28 10:30:07 tron Exp $
#
DISTNAME= bind-${BIND_VERSION}
@@ -45,12 +45,11 @@ post-build:
# include/isc/ipv6.h is installed on non-ipv6 platforms
.if defined(USE_INET6) && (${USE_INET6} == "YES")
-IPV6H= "@comment "
+PLIST_SUBST+= IPV6H="@comment "
.else
-IPV6H= ""
+PLIST_SUBST+= IPV6H=
.endif
-PLIST_SUBST+= IPV6H=${IPV6H}
PLIST_SRC= ${WRKDIR}/PLIST
post-install: