svn commit: r396552 - head/lang/go
John Marino
marino at FreeBSD.org
Thu Sep 10 07:20:53 UTC 2015
Author: marino
Date: Thu Sep 10 07:20:52 2015
New Revision: 396552
URL: https://svnweb.freebsd.org/changeset/ports/396552
Log:
lang/go: Restrict if_data8 "extra" patch to FreeBSD
The use of OSVERSION to define EXTRA_PATCHES requires an OPSYS check.
The extra patch in question is not valid for DragonFly.
Approved by: portmgr (bapt, after technical discussion)
Modified:
head/lang/go/Makefile
Modified: head/lang/go/Makefile
==============================================================================
--- head/lang/go/Makefile Thu Sep 10 05:46:50 2015 (r396551)
+++ head/lang/go/Makefile Thu Sep 10 07:20:52 2015 (r396552)
@@ -41,7 +41,7 @@ IGNORE= unknown arch ${ARCH}
PLIST_SUB+= ARCH=${GOARCH}
-.if (${OSVERSION} >= 1100000)
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1100000)
EXTRA_PATCHES+= ${FILESDIR}/struct-if_data-patch
.endif
More information about the svn-ports-all
mailing list