summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-24 09:15:47 +0000
committerjlam <jlam@pkgsrc.org>2004-02-24 09:15:47 +0000
commitaebed8609c68f447a84c43c3d831899680d792c7 (patch)
treef078029f7e971ac50c1086cfdb2858195899b911 /net
parent0b470d88d3f853ebf89b1e19145c7e37019f6685 (diff)
downloadpkgsrc-aebed8609c68f447a84c43c3d831899680d792c7.tar.gz
Allow ALL_TARGET to be something that's settable per-${OPSYS}, and set it
to "netbsd" for OpenBSD. This fixes PR 24536.
Diffstat (limited to 'net')
-rw-r--r--net/netcat/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/netcat/Makefile b/net/netcat/Makefile
index 3fd5668e4ea..1445b38cb64 100644
--- a/net/netcat/Makefile
+++ b/net/netcat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/01/20 12:22:20 agc Exp $
+# $NetBSD: Makefile,v 1.16 2004/02/24 09:15:47 jlam Exp $
DISTNAME= nc110
PKGNAME= netcat-1.10
@@ -21,7 +21,12 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
USE_BUILDLINK3= yes
MAKE_ENV+= DFLAGS="-DGAPING_SECURITY_HOLE -DTELNET"
-ALL_TARGET= ${LOWER_OPSYS}
+
+.include "../../mk/bsd.prefs.mk"
+
+NC_TARGET.${OPSYS}?= ${LOWER_OPSYS}
+NC_TARGET.OpenBSD= netbsd
+ALL_TARGET= ${NC_TARGET.${OPSYS}}
EXTRA_PROGS= data rservice xor
EXAMPLE_DIR= share/examples/nc