aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-03-07 16:06:24 +0800
committeryuri <yuri@FreeBSD.org>2018-03-07 16:06:24 +0800
commit37b293571d8844023156151aa3a7befba93ebec4 (patch)
tree2de9381d204a65a62d4393ca3bb1a5b85c51daeb /net-mgmt
parent0d9e2bff4ce6f5d680ea6330e66f1c51b42753fb (diff)
downloadfreebsd-ports-gnome-37b293571d8844023156151aa3a7befba93ebec4.tar.gz
freebsd-ports-gnome-37b293571d8844023156151aa3a7befba93ebec4.tar.zst
freebsd-ports-gnome-37b293571d8844023156151aa3a7befba93ebec4.zip
Make 41 Go ports respect MAKE_ENV. This is expected to unbreak them.
Ports: benchmarks/hey benchmarks/vegeta databases/influxdb devel/arduino-builder devel/arduinoOTA devel/awless devel/git-codereview devel/git-town devel/gitlab-runner devel/grv devel/hub devel/jfrog-cli editors/micro finance/fixc misc/exercism net-mgmt/intel-snap net-mgmt/kapacitor net-mgmt/telegraf net/goreplay net/syncthing net/syncthing-cli net/syncthing-discosrv net/syncthing-inotify print/cups-connector security/sops security/vault sysutils/amazon-ssm-agent sysutils/circonus-agent sysutils/consul sysutils/consul_exporter sysutils/envconsul sysutils/serf textproc/consul-template textproc/spiff www/gobuffalo www/grafana2 www/grafana3 www/mattermost-server www/minio www/minio-client www/uchiwa Approved by: tcberner (mentor, implicit) Approved by: portmgr (port compliance, infrastructure)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/intel-snap/Makefile6
-rw-r--r--net-mgmt/kapacitor/Makefile4
-rw-r--r--net-mgmt/telegraf/Makefile2
3 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/intel-snap/Makefile b/net-mgmt/intel-snap/Makefile
index 8f8f5f1e0642..a2d2dfaa3435 100644
--- a/net-mgmt/intel-snap/Makefile
+++ b/net-mgmt/intel-snap/Makefile
@@ -50,13 +50,13 @@ PLIST_FILES= bin/snapctl bin/snapd
do-build:
( cd ${WRKSRC}; ${LN} -s ${WRKSRC} ${WRKSRC}/src/github.com/intelsdi-x/snap )
( cd ${WRKSRC}/src/github.com/appc/spec; \
- ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
+ ${SETENV} ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} CC=clang \
go build -o bin/actool github.com/appc/spec/actool )
( cd ${WRKSRC}; \
- ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
+ ${SETENV} ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} CC=clang \
go build ${BUILD_FLAGS} -o bin/snapd )
( cd ${WRKSRC}/cmd/snapctl; \
- ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
+ ${SETENV} ${BUILD_ENV} ${MAKE_ENV} GOPATH=${WRKSRC} CC=clang \
go build ${BUILD_FLAGS} -o bin/snapctl )
do-install:
diff --git a/net-mgmt/kapacitor/Makefile b/net-mgmt/kapacitor/Makefile
index 76c69f2d7788..29816013f411 100644
--- a/net-mgmt/kapacitor/Makefile
+++ b/net-mgmt/kapacitor/Makefile
@@ -51,8 +51,8 @@ post-patch:
do-build:
@cd ${WRKSRC}/src/github.com/influxdata/${PORTNAME} \
- && ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME} \
- && ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME}d
+ && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME} \
+ && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./cmd/${PORTNAME}d
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile
index ca03c03bf4c2..911fadda05ed 100644
--- a/net-mgmt/telegraf/Makefile
+++ b/net-mgmt/telegraf/Makefile
@@ -126,7 +126,7 @@ post-patch:
do-build:
@cd ${WRKSRC}/src/github.com/influxdata/${PORTNAME} && \
- ${SETENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./...
+ ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install -ldflags "-X main.version=${DISTVERSION}" ./...
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}