git: 9b042c0f69b9 - main - net-mgmt/grok_exporter: Fix build on aarch64

Mikael Urankar mikael at FreeBSD.org
Thu Sep 16 08:35:16 UTC 2021


The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9b042c0f69b958f0908cd023bb88c77d00889db0

commit 9b042c0f69b958f0908cd023bb88c77d00889db0
Author:     Mikael Urankar <mikael at FreeBSD.org>
AuthorDate: 2021-09-15 16:44:43 +0000
Commit:     Mikael Urankar <mikael at FreeBSD.org>
CommitDate: 2021-09-16 07:22:59 +0000

    net-mgmt/grok_exporter: Fix build on aarch64
    
    Approved by:    portmgr (build fix blanket)
---
 net-mgmt/grok_exporter/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-mgmt/grok_exporter/Makefile b/net-mgmt/grok_exporter/Makefile
index 9af526072855..cf20791aa88d 100644
--- a/net-mgmt/grok_exporter/Makefile
+++ b/net-mgmt/grok_exporter/Makefile
@@ -45,6 +45,7 @@ SUB_FILES=	config.yml
 
 post-patch:
 	for f in `${FIND} ${WRKSRC}/tailer -name '*darwin*'`; do ${LN} -sf $${f} `echo $${f} | ${SED} 's/darwin/freebsd/g'`; done
+	cd ${WRKSRC}/tailer/fswatcher && ${LN} -sf fswatcher_darwin_amd64.go fswatcher_freebsd_arm64.go
 
 post-install:
 	${MKDIR} ${STAGEDIR}${ETCDIR}


More information about the dev-commits-ports-main mailing list