svn commit: r424484 - head/devel/arduino-builder

Boris Samorodov bsam at FreeBSD.org
Sat Oct 22 20:27:18 UTC 2016


Author: bsam
Date: Sat Oct 22 20:27:17 2016
New Revision: 424484
URL: https://svnweb.freebsd.org/changeset/ports/424484

Log:
  devel/arduino-builder: Move GOPATH to GO_ENV, respect GO_ENV.
  
  PR:		213697
  Submitted by:	Kyle Evans <bsdports at kyle-evans.net> (maintainer)

Modified:
  head/devel/arduino-builder/Makefile

Modified: head/devel/arduino-builder/Makefile
==============================================================================
--- head/devel/arduino-builder/Makefile	Sat Oct 22 19:50:39 2016	(r424483)
+++ head/devel/arduino-builder/Makefile	Sat Oct 22 20:27:17 2016	(r424484)
@@ -2,7 +2,7 @@
 
 PORTNAME=	arduino-builder
 PORTVERSION=	1.3.21
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 
 MAINTAINER=	bsdports at kyle-evans.net
@@ -20,6 +20,7 @@ GH_TUPLE=	go-errors:errors:a418503:goerr
 		stretchr:testify:v1.1.3:stretchr/src/github.com/stretchr/testify \
 		jstemmer:go-junit-report:833f8ea:jstemmer/src/github.com/jstemmer/go-junit-report
 
+GO_ENV+=	GOPATH=${WRKSRC}
 STRIP=		# stripping can break go binaries
 
 PLIST_FILES=	arduino/hardware/platform.keys.rewrite.txt \
@@ -27,7 +28,7 @@ PLIST_FILES=	arduino/hardware/platform.k
 		bin/${PORTNAME}
 
 do-build:
-	@( cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build arduino.cc/arduino-builder )
+	@( cd ${WRKSRC} ; ${SETENV} ${GO_ENV} go build arduino.cc/arduino-builder )
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}


More information about the svn-ports-head mailing list