mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
devel/arduino-builder: Move GOPATH to GO_ENV, respect GO_ENV.
PR: 213697 Submitted by: Kyle Evans <bsdports@kyle-evans.net> (maintainer)
This commit is contained in:
parent
29c086c498
commit
8b95368bc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424484
1 changed files with 3 additions and 2 deletions
|
@ -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:goerrors/src/github.com/go-errors/errors \
|
|||
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.keys.rewrite.txt \
|
|||
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}
|
||||
|
|
Loading…
Add table
Reference in a new issue