From e1a945c9f1b18251a620129742eb7d138481bb8c Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 26 Aug 2002 12:09:36 +0000 Subject: use USE_INET6 to determine whether or not to install include/isc/ipv6.h --- net/bind9/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/bind9') diff --git a/net/bind9/Makefile b/net/bind9/Makefile index f571a9b5efd..271d9407b68 100644 --- a/net/bind9/Makefile +++ b/net/bind9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2002/08/26 11:25:41 itojun Exp $ +# $NetBSD: Makefile,v 1.44 2002/08/26 12:09:36 grant Exp $ # DISTNAME= bind-${BIND_VERSION} @@ -40,9 +40,9 @@ post-build: <${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= "" +.if defined(USE_INET6) && ${USE_INET6} == "YES" +IPV6H= "@comment " .endif PLIST_SUBST+= IPV6H=${IPV6H} -- cgit v1.2.3