Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 07:20:53 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396552 - head/lang/go
Message-ID:  <201509100720.t8A7KrL3050409@repo.freebsd.org>

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



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