pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netcat Allow ALL_TARGET to be something that's set...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59c31631ed3d
branches:  trunk
changeset: 469492:59c31631ed3d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Feb 24 09:15:47 2004 +0000

description:
Allow ALL_TARGET to be something that's settable per-${OPSYS}, and set it
to "netbsd" for OpenBSD.  This fixes PR 24536.

diffstat:

 net/netcat/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 9e4676e829be -r 59c31631ed3d net/netcat/Makefile
--- a/net/netcat/Makefile       Tue Feb 24 05:30:19 2004 +0000
+++ b/net/netcat/Makefile       Tue Feb 24 09:15:47 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index