svn commit: r418738 - head/sysutils/u-boot-pine64

Brad Davis brd at FreeBSD.org
Mon Jul 18 19:53:20 UTC 2016


Author: brd
Date: Mon Jul 18 19:53:18 2016
New Revision: 418738
URL: https://svnweb.freebsd.org/changeset/ports/418738

Log:
  Only build sysutils/u-boot-pine64 on > 10.0 since dtc is required.
  
  Approved by:	bdrewery (implicit)

Modified:
  head/sysutils/u-boot-pine64/Makefile

Modified: head/sysutils/u-boot-pine64/Makefile
==============================================================================
--- head/sysutils/u-boot-pine64/Makefile	Mon Jul 18 19:47:27 2016	(r418737)
+++ head/sysutils/u-boot-pine64/Makefile	Mon Jul 18 19:53:18 2016	(r418738)
@@ -30,6 +30,12 @@ MAKE_ARGS+=	ARCH=arm \
 		PLAT=sun50iw1p1 \
 		CONFIG_EFI=y
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000
+IGNORE=		requires FreeBSD 10 or later
+.endif
+
 post-extract:
 	(cd ${WRKSRC}; ${EXTRACT_CMD} xvf ${DISTDIR}/firmware-pine64-20160329-6.1.src.rpm)
 	${RM} -fr ${WRKSRC}/arm-trusted-firmware
@@ -50,4 +56,4 @@ do-install:
 	${CP} ${WRKSRC}/pine64.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/
 	${CP} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list