aboutsummaryrefslogtreecommitdiff
path: root/sysutils/consul_exporter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/consul_exporter/Makefile')
-rw-r--r--sysutils/consul_exporter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/consul_exporter/Makefile b/sysutils/consul_exporter/Makefile
index 139d5ae64fa9..72f75bf23276 100644
--- a/sysutils/consul_exporter/Makefile
+++ b/sysutils/consul_exporter/Makefile
@@ -26,7 +26,7 @@ post-extract:
@${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src/
do-build:
- @cd ${WRKSRC}/src/github.com/prometheus/consul_exporter; ${SETENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \
+ @cd ${WRKSRC}/src/github.com/prometheus/consul_exporter; ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 ${BUILD_ENV} GOPATH=${WRKSRC} go build \
-ldflags "\
-X github.com/prometheus/consul_exporter/version.Version=${PORTVERSION} \
-X github.com/prometheus/consul_exporter/version.VersionPrerelease= \