summaryrefslogtreecommitdiff
path: root/net/wireguard-go
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireguard-go')
-rw-r--r--net/wireguard-go/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/wireguard-go/Makefile b/net/wireguard-go/Makefile
index 7317d2ace419..76fc282edd6d 100644
--- a/net/wireguard-go/Makefile
+++ b/net/wireguard-go/Makefile
@@ -12,16 +12,14 @@ COMMENT= WireGuard implementation in Go
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= go:lang/go
-
-USES= gmake tar:xz
+USES= gmake go:modules,no_targets tar:xz
USE_GITHUB= nodefault
GH_TUPLE= golang:crypto:b7391e95e576:crypto/vendor/golang.org/x/crypto \
golang:net:1272bf9dcd53:net/vendor/golang.org/x/net \
golang:sys:f7bb7a8bee54:sys/vendor/golang.org/x/sys
-MAKE_ENV+= GOFLAGS=-mod=vendor
+MAKE_ENV+= GOFLAGS="${GO_BUILDFLAGS}"
PLIST_FILES= bin/${PORTNAME}