aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-10-14 06:00:05 +0800
committerkrion <krion@FreeBSD.org>2004-10-14 06:00:05 +0800
commit41659845a9492edeb9b534551f78a7d79a17d26a (patch)
treeb7b52a6d00e91303dfac10fe50476cf1e8daa84d
parent89736daad673c2383eff25212281eb21d9457207 (diff)
downloadfreebsd-ports-gnome-41659845a9492edeb9b534551f78a7d79a17d26a.tar.gz
freebsd-ports-gnome-41659845a9492edeb9b534551f78a7d79a17d26a.tar.zst
freebsd-ports-gnome-41659845a9492edeb9b534551f78a7d79a17d26a.zip
Use OSVERSION check instead of exists().
Pointed out by: kris
-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)