aboutsummaryrefslogtreecommitdiff
path: root/sysutils/immortal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/immortal/Makefile')
-rw-r--r--sysutils/immortal/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/immortal/Makefile b/sysutils/immortal/Makefile
index 4f3f565b5f36..d5a4826effad 100644
--- a/sysutils/immortal/Makefile
+++ b/sysutils/immortal/Makefile
@@ -24,13 +24,13 @@ GH_SUBDIR= src/github.com/${PORTNAME}/${PORTNAME}
do-build:
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
- ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
+ ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
"-s -w -X main.version=${PORTVERSION}" -o immortal cmd/immortal/main.go;
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
- ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
+ ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
"-s -w -X main.version=${PORTVERSION}" -o immortalctl cmd/immortalctl/main.go;
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
- ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
+ ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags \
"-s -w -X main.version=${PORTVERSION}" -o immortaldir cmd/immortaldir/main.go;
do-install: