summaryrefslogtreecommitdiff
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
commite2813c966d2ac064b2862925adeaefd55efc1d1f (patch)
treed9e9470a5ae85b30a584ccfa12ad4b7aa998428e
parent85bdc720a984e12f82f90f3c195b943d7125999a (diff)
downloadpkgsrc-e2813c966d2ac064b2862925adeaefd55efc1d1f.tar.gz
Make "${IPV6H}" substitution in package list more efficient.
-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: