Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2024 14:39:06 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 52a640bf36f8 - main - benchmarks/tinymembench: fix build on armv7
Message-ID:  <202412191439.4BJEd6lL003811@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52a640bf36f84e4ff8fbbec5fe57c39397094f87

commit 52a640bf36f84e4ff8fbbec5fe57c39397094f87
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-12-17 15:40:49 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-19 14:38:39 +0000

    benchmarks/tinymembench: fix build on armv7
    
    @progbits is spelled %progbits on armv7
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2024Q4
---
 benchmarks/tinymembench/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/benchmarks/tinymembench/Makefile b/benchmarks/tinymembench/Makefile
index cad875cb8b4d..f6669b8c3047 100644
--- a/benchmarks/tinymembench/Makefile
+++ b/benchmarks/tinymembench/Makefile
@@ -17,7 +17,14 @@ GH_ACCOUNT=	ssvb
 
 PLIST_FILES=	bin/tinymembench
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Marmv?}
+pre-configure:
+	${REINPLACE_CMD} -e 's,@progbits,%progbits,' ${WRKSRC}/*.S
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412191439.4BJEd6lL003811>