Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2012 19:36:17 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301026 - head/net-mgmt/send
Message-ID:  <201207171936.q6HJaHER086565@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207171936.q6HJaHER086565>