diff --git a/sysutils/beats/packetbeat/Makefile b/sysutils/beats/packetbeat/Makefile index 72f6367fc55..c136d3372e7 100644 --- a/sysutils/beats/packetbeat/Makefile +++ b/sysutils/beats/packetbeat/Makefile @@ -16,5 +16,6 @@ pre-build: ${MODGO_WORKSPACE}/pkg/mod/github.com/tsg/gopacket@v0.0.0-20200626092518-2ab8e397a786/pcap/ cp ${FILESDIR}/bindtodevice_bsd.go \ ${MODGO_WORKSPACE}/pkg/mod/github.com/elastic/dhcp@v0.0.0-20200227161230-57ec251c7eb3/dhcpv4/ + GOCACHE="${MODGO_GOCACHE}" go clean -cache .include