diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-28 03:51:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-28 03:51:48 +0000 |
commit | b32444acd276c9e9436311367258b2678200bdf4 (patch) | |
tree | 23c460c30486a16703b0f9c1af97624aebb5942f /security/tcp_wrappers | |
parent | 0ac5f771aa58974d17ff52c364b4c71422449b68 (diff) | |
download | pkgsrc-b32444acd276c9e9436311367258b2678200bdf4.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/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 |