summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-06-14 02:10:57 +0000
committerhubertf <hubertf@pkgsrc.org>2000-06-14 02:10:57 +0000
commitaeca013e4d1cfa80dc0d3c5e5cafd185614d225a (patch)
treef18b392407c95d68ae6f59e6599dbf5cd67f6619 /net
parent137cde977e17e2b53adc1c83eb438f3f12370ce7 (diff)
downloadpkgsrc-aeca013e4d1cfa80dc0d3c5e5cafd185614d225a.tar.gz
Use the defines from bsd.pkg.mk, don't start subshells.
(The values for uname etc. will probably be passed in from upper-level make processes).
Diffstat (limited to 'net')
-rw-r--r--net/mtr/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index ed216981b2a..91fd21251ec 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/06/12 10:59:42 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2000/06/14 02:10:58 hubertf Exp $
# $FreeBSD: ports/net/mtr/Makefile,v 1.16 1999/10/28 08:06:00 mharo Exp $
DISTNAME= mtr-0.42
@@ -15,11 +15,11 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include
-OSVER!= uname -r
+.include "../../mk/bsd.prefs.mk"
GOOD_CURSES= 1.4[Y-Z] 1.4Z[A-Z] 1.[5-9]*
.for PATTERN in ${GOOD_CURSES}
-.if ${OSVER:M${PATTERN}} != ""
+.if ${OS_VERSION:M${PATTERN}} != ""
CURSES_GOOD?= # defined
.endif
.endfor