summaryrefslogtreecommitdiff
path: root/security/tcp_wrappers
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-28 03:51:48 +0000
committerjlam <jlam>2002-08-28 03:51:48 +0000
commitebfbaf86ea09e3ae200971e3dc8757d4bb59ac88 (patch)
tree23c460c30486a16703b0f9c1af97624aebb5942f /security/tcp_wrappers
parentfca451fa5487f8d61a7a511386d69be794d2cb49 (diff)
downloadpkgsrc-ebfbaf86ea09e3ae200971e3dc8757d4bb59ac88.tar.gz
Support building tcp_wrappers on Darwin, from pkg/18090 from grant beattie.
Diffstat (limited to 'security/tcp_wrappers')
-rw-r--r--security/tcp_wrappers/Makefile14
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