aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-07-18 03:36:17 +0800
committercrees <crees@FreeBSD.org>2012-07-18 03:36:17 +0800
commitef758f57eb75a5e44f8f9c0d1187591483c60d58 (patch)
treeb4335b2ccc2a374efb3e78b2fa435616e77d57ee /net-mgmt
parentb2d06c076958f873151c473797c6dc8170ec0b97 (diff)
downloadfreebsd-ports-gnome-ef758f57eb75a5e44f8f9c0d1187591483c60d58.tar.gz
freebsd-ports-gnome-ef758f57eb75a5e44f8f9c0d1187591483c60d58.tar.zst
freebsd-ports-gnome-ef758f57eb75a5e44f8f9c0d1187591483c60d58.zip
Use OSVERSION rather than slower exists check
PR: ports/169585 Approved by: maintainer timeout (anchie, >2w)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/send/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/send/Makefile b/net-mgmt/send/Makefile
index 8f76e196e8fd..2316bccab08e 100644
--- a/net-mgmt/send/Makefile
+++ b/net-mgmt/send/Makefile
@@ -21,7 +21,9 @@ SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDOCS= README UserGuide.pdf
-.if !exists(/usr/include/netinet6/send.h)
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900042
IGNORE= is supported only on 9.0 and later
.endif
@@ -42,4 +44,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>