summaryrefslogtreecommitdiff
path: root/net/bind9/Makefile
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-08-20 01:38:16 +0000
committergrant <grant@pkgsrc.org>2002-08-20 01:38:16 +0000
commit8310a55bfa34ad4f549fd3084a8bb5fb3ec33a6e (patch)
tree4aa57af08ca4a18bb79b5ac22ce0bac6181277f9 /net/bind9/Makefile
parentbb36b15b44d115baa12bc6df02f10a88c08674ad (diff)
downloadpkgsrc-8310a55bfa34ad4f549fd3084a8bb5fb3ec33a6e.tar.gz
deal with optional installation of ipv6.h on non-ipv6 platforms.
Diffstat (limited to 'net/bind9/Makefile')
-rw-r--r--net/bind9/Makefile9
1 files changed, 8 insertions, 1 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: