summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant>2002-08-20 01:38:16 +0000
committergrant <grant>2002-08-20 01:38:16 +0000
commit0fe2834f60030abd9233e28d830f92de10714292 (patch)
tree4aa57af08ca4a18bb79b5ac22ce0bac6181277f9 /net
parent4a9ecbc0a51d4a6e1e22f12aa72ebd416bf46de8 (diff)
downloadpkgsrc-0fe2834f60030abd9233e28d830f92de10714292.tar.gz
deal with optional installation of ipv6.h on non-ipv6 platforms.
Diffstat (limited to 'net')
-rw-r--r--net/bind9/Makefile9
-rw-r--r--net/bind9/PLIST3
2 files changed, 10 insertions, 2 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index e7c156bd195..e9b812d9d5b 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2002/07/24 12:55:56 grant Exp $
+# $NetBSD: Makefile,v 1.42 2002/08/20 01:38:16 grant Exp $
#
DISTNAME= bind-${BIND_VERSION}
@@ -39,6 +39,13 @@ post-build:
-e 's|@PREFIX@|${PREFIX}|' \
<${FILESDIR}/lwresd.sh >${WRKDIR}/lwresd
+# include/isc/ipv6.h is installed on non-ipv6 platforms
+IPV6H= "@comment "
+.if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.7"
+IPV6H= ""
+.endif
+
+PLIST_SUBST+= IPV6H="${IPV6H}"
PLIST_SRC= ${WRKDIR}/PLIST
post-install:
diff --git a/net/bind9/PLIST b/net/bind9/PLIST
index 98f3ffd45e4..0a9e9ae3b44 100644
--- a/net/bind9/PLIST
+++ b/net/bind9/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/05/04 14:56:23 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2002/08/20 01:38:17 grant Exp $
bin/dig
bin/host
bin/isc-config.sh
@@ -93,6 +93,7 @@ include/isc/hex.h
include/isc/hmacmd5.h
include/isc/int.h
include/isc/interfaceiter.h
+${IPV6H}include/isc/ipv6.h
include/isc/lang.h
include/isc/lex.h
include/isc/lfsr.h