Skip to content

Instantly share code, notes, and snippets.

@dmgk
Created January 8, 2021 14:40
Show Gist options
  • Save dmgk/cd3b544d222882ba6c7d1466930490ce to your computer and use it in GitHub Desktop.
Save dmgk/cd3b544d222882ba6c7d1466930490ce to your computer and use it in GitHub Desktop.
Index: devel/gocheese/Makefile
===================================================================
--- devel/gocheese/Makefile (revision 560776)
+++ devel/gocheese/Makefile (working copy)
@@ -19,7 +19,7 @@
bin/pyshop2packages.sh
do-build:
- @cd ${WRKSRC} ; ${ENV} GOPATH=${WRKSRC} go build -ldflags="-s -w" -o gocheese go.cypherpunks.ru/gocheese/v2
+ @cd ${WRKSRC} ; ${ENV} GOPATH=${WRKSRC} GO111MODULE=off go build -ldflags="-s -w" -o gocheese go.cypherpunks.ru/gocheese/v2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
Index: security/teleport/Makefile
===================================================================
--- security/teleport/Makefile (revision 560776)
+++ security/teleport/Makefile (working copy)
@@ -48,7 +48,7 @@
do-build:
@cd ${WRKDIR}/${GO_TELEPORT_SRC_DIR} && \
- ${SETENV} ${MAKE_ENV} ${BUILD_ENV} \
+ ${SETENV} ${MAKE_ENV} ${BUILD_ENV} ${GO_ENV} \
CGO_ENABLED=1 GOPATH=${WRKDIR} \
${GMAKE} full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment