Skip to content

Instantly share code, notes, and snippets.

@dmgk
Created January 8, 2021 15:24
Show Gist options
  • Save dmgk/32eecf4575cb1b60f8cd4ba4c78c3b2a to your computer and use it in GitHub Desktop.
Save dmgk/32eecf4575cb1b60f8cd4ba4c78c3b2a to your computer and use it in GitHub Desktop.
Index: net/ooni-probe-cli/Makefile
===================================================================
--- net/ooni-probe-cli/Makefile (revision 560781)
+++ net/ooni-probe-cli/Makefile (working copy)
@@ -113,7 +113,7 @@
${MV} ${WRKSRC}/go.mod ${WRKDIR}/go.mod-${PORTNAME} && \
cd ${WRKSRC}/vendor/github.com/shuLhan/go-bindata && \
${RLN} ${WRKSRC}/vendor vendor && ${RLN} ${WRKSRC}/vendor src && \
- ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/github.com/shuLhan/go-bindata ${GO_CMD} \
+ ${SETENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/github.com/shuLhan/go-bindata GO111MODULE=off ${GO_CMD} \
build -v -o ${WRKDIR}/go-bindata-ooni ./go-bindata && \
${STRIP_CMD} ${WRKDIR}/go-bindata-ooni && \
cd ${WRKSRC} && \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment