Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2025 23:08:21 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 2255cf14f56b - 2025Q1 - devel/boost-libs: fix on armv7
Message-ID:  <202501062308.506N8LCW071087@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=2255cf14f56bbfede5ac3ff7431eda9441cd564f

commit 2255cf14f56bbfede5ac3ff7431eda9441cd564f
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-01-04 13:41:52 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-06 23:08:01 +0000

    devel/boost-libs: fix on armv7
    
    @progbits is spelled %progbits on armv7.  This error caused dependent
    port lang/emilua to fail to build, but does not directly affect this
    port as the affected header files are not part of any translation unit
    built with this package.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q1
    
    (cherry picked from commit 355e55d2e4e5921b4aa98fe127849c7161b5867b)
---
 devel/boost-libs/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 41a26bf55c0b..f2e52a43dd6f 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	boost-libs
-PORTREVISION?=	0
+PORTREVISION?=	1
 
 COMMENT=	Free portable C++ libraries (without Boost.Python)
 WWW=		https://www.boost.org/
@@ -66,6 +66,13 @@ PLIST_SUB+=	SFE="@comment "
 
 .endif
 
+.if ${ARCH:Marmv?}
+pre-configure:
+	${REINPLACE_CMD} -e 's,@progbits,%progbits,' \
+		${WRKSRC}/boost/outcome/experimental/status-code/status_code.hpp \
+		${WRKSRC}/boost/outcome/outcome_gdb.h
+.endif
+
 do-install:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
 		${MAKE_ARGS:NDESTDIR=*:S,^--prefix=,&${STAGEDIR},} ${INSTALL_TARGET}



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