Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2014 05:16:01 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374569 - head/devel/libpru
Message-ID:  <201412120516.sBC5G1d9013284@svn.freebsd.org>

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



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