From c6edc09903bfc7de227c0efbe5faf3ba19d016a3 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 28 Aug 2022 09:08:51 +0000 Subject: [PATCH] packetbeat: clean cache at end of pre-build to fix build with Go 1.19 maintainer timeout --- sysutils/beats/packetbeat/Makefile | 1 + 1 file changed, 1 insertion(+) 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