svn commit: r374569 - head/devel/libpru

Rui Paulo rpaulo at FreeBSD.org
Fri Dec 12 05:16:01 UTC 2014


Author: rpaulo
Date: Fri Dec 12 05:16:00 2014
New Revision: 374569
URL: https://svnweb.freebsd.org/changeset/ports/374569
QAT: https://qat.redports.org/buildarchive/r374569/

Log:
  Build devel/libpru only on FreeBSD 10+.
  
  Differential Revision:	https://reviews.freebsd.org/D1298
  Reviewed by:	swills
  Approved by:	swills

Modified:
  head/devel/libpru/Makefile

Modified: head/devel/libpru/Makefile
==============================================================================
--- head/devel/libpru/Makefile	Fri Dec 12 04:27:33 2014	(r374568)
+++ head/devel/libpru/Makefile	Fri Dec 12 05:16:00 2014	(r374569)
@@ -10,6 +10,16 @@ COMMENT=	Library to interface with PRUs
 
 LICENSE=	BSD2CLAUSE
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} != FreeBSD
+IGNORE=	Only supported on FreeBSD
+.endif
+
+.if ${OSVERSION} < 1000510
+IGNORE=	Only supported on FreeBSD 10+
+.endif
+
 USES=		cmake
 
 WRKSRC=		${WRKDIR}/rpaulo-libpru-e1aae0486927


More information about the svn-ports-head mailing list