diff options
Diffstat (limited to 'security/tcp_wrappers')
-rw-r--r-- | security/tcp_wrappers/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/security/tcp_wrappers/Makefile b/security/tcp_wrappers/Makefile index 6970cbbbcce..ed076c84168 100644 --- a/security/tcp_wrappers/Makefile +++ b/security/tcp_wrappers/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2002/08/25 18:39:57 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2002/08/28 03:51:48 jlam Exp $ DISTNAME= tcp_wrappers_7.6-ipv6.1 PKGNAME= tcp_wrappers-7.6.1 @@ -10,14 +10,22 @@ MAINTAINER= tron@netbsd.org HOMEPAGE= ftp://ftp.porcupine.org/pub/security/index.html COMMENT= Monitor and filter incoming requests for network services -ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system +ONLY_FOR_PLATFORM= Darwin-*-* SunOS-*-* # in NetBSD base system USE_BUILDLINK2= # defined USE_LIBTOOL= # defined +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +ALL_TARGET= netbsd +.elif ${OPSYS} == "SunOS" ALL_TARGET= sunos5 +.else +ALL_TARGET= generic # good luck! +.endif -.if exists(/usr/include/netinet/ip6.h) +.if defined(USE_INET6) && ${USE_INET6} == "YES" MAKE_ENV+= IPV6=-DHAVE_IPV6 .endif |