svn commit: r301026 - head/net-mgmt/send

Chris Rees crees at FreeBSD.org
Tue Jul 17 19:36:18 UTC 2012


Author: crees
Date: Tue Jul 17 19:36:17 2012
New Revision: 301026
URL: http://svn.freebsd.org/changeset/ports/301026

Log:
  Use OSVERSION rather than slower exists check
  
  PR:		ports/169585
  Approved by:	maintainer timeout (anchie, >2w)

Modified:
  head/net-mgmt/send/Makefile

Modified: head/net-mgmt/send/Makefile
==============================================================================
--- head/net-mgmt/send/Makefile	Tue Jul 17 19:08:21 2012	(r301025)
+++ head/net-mgmt/send/Makefile	Tue Jul 17 19:36:17 2012	(r301026)
@@ -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>



More information about the svn-ports-all mailing list