aboutsummaryrefslogtreecommitdiff
path: root/net/ng_netflow
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-10-13 22:00:05 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-10-13 22:00:05 +0000
commit18207199984d7f2ac1716281ab08d7824786f44a (patch)
tree9c0be51a452f39c0dcf318ac1cad99bc187cd43a /net/ng_netflow
parent74565720cf9985efc5d0344636236e131686fa8b (diff)
Use OSVERSION check instead of exists().
Pointed out by: kris
Notes
Notes: svn path=/head/; revision=119316
Diffstat (limited to 'net/ng_netflow')
-rw-r--r--net/ng_netflow/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ng_netflow/Makefile b/net/ng_netflow/Makefile
index 77e678bfe5bd..ad441ba319c2 100644
--- a/net/ng_netflow/Makefile
+++ b/net/ng_netflow/Makefile
@@ -23,12 +23,12 @@ MAN4= ng_netflow.4
MAN8= flowctl.8
MANCOMPRESSED= yes
-.if exists(/usr/sbin/flowctl)
-IGNORE= "already exists in base"
-.endif
-
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 600003
+IGNORE= "already exists in base system"
+.endif
+
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)