Date: Sat, 22 Oct 2016 20:27:17 +0000 (UTC) From: Boris Samorodov <bsam@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424484 - head/devel/arduino-builder Message-ID: <201610222027.u9MKRHp8002452@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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@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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610222027.u9MKRHp8002452>