Skip to content

Instantly share code, notes, and snippets.

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} \
Index: devel/loccount/Makefile
===================================================================
--- devel/loccount/Makefile (revision 560780)
+++ devel/loccount/Makefile (working copy)
@@ -25,7 +25,7 @@
man/man1/${PORTNAME}.1.gz
do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} loccount loccount.1
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} loccount loccount.1
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
2021/01/06 06:32:30 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc0000100a0 127.0.0.1:64946 in state active
--- FAIL: TestTransportCloseResponseBody (79.55s)
transport_test.go:2669: too long waiting for write error
2021/01/06 06:33:39 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc000010098 127.0.0.1:59675 in state active
2021/01/06 06:33:40 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc000284120 127.0.0.1:59710 in state active
2021/01/06 06:34:59 httptest.Server blocked in Close after 5 seconds, waiting for connections:
*net.TCPConn 0xc000010128 127.0.0.1:21443 in state active