devel/boost-libs: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2025-01-07 13:48:00 +01:00
parent ffc6047843
commit 76c684991e

View file

@ -1,5 +1,5 @@
PORTNAME= boost-libs PORTNAME= boost-libs
PORTREVISION?= 0 PORTREVISION?= 1
COMMENT= Free portable C++ libraries (without Boost.Python) COMMENT= Free portable C++ libraries (without Boost.Python)
WWW= https://www.boost.org/ WWW= https://www.boost.org/
@ -18,7 +18,6 @@ BUILD_DEPENDS+= bjam:devel/boost-jam
# * OSVERSION is included in either of following ranges. # * OSVERSION is included in either of following ranges.
# 1. 1500000 <= OSVERSION < 1500017 # 1. 1500000 <= OSVERSION < 1500017
# 2. 1400000 <= OSVERSION < 1400509 (no longer relevant) # 2. 1400000 <= OSVERSION < 1400509 (no longer relevant)
# 3. 1300000 <= OSVERSION < 1303502 (no longer relevant)
# * Base system is built with WITH_LLVM_ASSERTIONS variable set. # * Base system is built with WITH_LLVM_ASSERTIONS variable set.
# So if your base system fulfills them you need to use LLVM ports to # So if your base system fulfills them you need to use LLVM ports to
# build this port. # build this port.
@ -67,6 +66,13 @@ PLIST_SUB+= SFE="@comment "
.endif .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: do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
${MAKE_ARGS:NDESTDIR=*:S,^--prefix=,&${STAGEDIR},} ${INSTALL_TARGET} ${MAKE_ARGS:NDESTDIR=*:S,^--prefix=,&${STAGEDIR},} ${INSTALL_TARGET}