pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/boost-libs



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Apr  7 18:16:42 UTC 2026

Modified Files:
        pkgsrc/devel/boost-libs: Makefile PLIST

Log Message:
boost-libs: add provisions to conditionally build w/ cobalt

... but then force it off unconditionally. Presumably nothing in
pkgsrc currently needs it. The library requires C++20 and we are
not ready to bump boost's USE_CXX_FEATURES from C++14 yet.
(Without this we get PLIST errors with GCC 16.)


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 pkgsrc/devel/boost-libs/Makefile
cvs rdiff -u -r1.52 -r1.53 pkgsrc/devel/boost-libs/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/boost-libs/Makefile
diff -u pkgsrc/devel/boost-libs/Makefile:1.125 pkgsrc/devel/boost-libs/Makefile:1.126
--- pkgsrc/devel/boost-libs/Makefile:1.125      Mon Feb  9 21:51:29 2026
+++ pkgsrc/devel/boost-libs/Makefile    Tue Apr  7 18:16:42 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2026/02/09 21:51:29 wiz Exp $
+# $NetBSD: Makefile,v 1.126 2026/04/07 18:16:42 tnn Exp $
 
 BOOST_PACKAGE=         libs
 BOOST_COMMENT=         (binary libraries)
@@ -13,13 +13,14 @@ INSTALLATION_DIRS+= lib
 
 BJAM_ARGS+=            --without-headers
 BJAM_ARGS+=            --without-python
-PLIST_VARS+=           context fiber log stacktrace_from_exception
+PLIST_VARS+=           cobalt context fiber log stacktrace_from_exception
 
 .include "../../mk/compiler.mk"
 
 # pch enabled build is generally fragile and breaks with RELRO
 BJAM_ARGS+=            pch=off
 
+BJAM_ARGS+=            --without-cobalt        # C++20
 .if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == m68k || ${MACHINE_ARCH} == sparc64
 BJAM_ARGS+=            --without-context
 BJAM_ARGS+=            --without-coroutine
@@ -80,10 +81,12 @@ do-install: boost-install-libs boost-ins
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/lib/cmake/boost_headers-*/*.cmake
 
+PRINT_PLIST_AWK+=      /boost_cobalt/ { $$0 = "$${PLIST.cobalt}"$$0 }
 PRINT_PLIST_AWK+=      /boost_context/ { $$0 = "$${PLIST.context}"$$0 }
 PRINT_PLIST_AWK+=      /boost_coroutine/ { $$0 = "$${PLIST.context}"$$0 }
 PRINT_PLIST_AWK+=      /boost_fiber/ { $$0 = "$${PLIST.fiber}"$$0 }
 PRINT_PLIST_AWK+=      /boost_log/ { $$0 = "$${PLIST.log}"$$0 }
+PRINT_PLIST_AWK+=      /boost_stacktrace_addr2line/ { $$0 = "$${PLIST.stacktrace_addr2line}"$$0 }
 PRINT_PLIST_AWK+=      /boost_stacktrace_from_exception/ { $$0 = "$${PLIST.stacktrace_from_exception}"$$0 }
 
 .include "../../archivers/bzip2/buildlink3.mk"

Index: pkgsrc/devel/boost-libs/PLIST
diff -u pkgsrc/devel/boost-libs/PLIST:1.52 pkgsrc/devel/boost-libs/PLIST:1.53
--- pkgsrc/devel/boost-libs/PLIST:1.52  Mon Feb  9 21:51:29 2026
+++ pkgsrc/devel/boost-libs/PLIST       Tue Apr  7 18:16:42 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.52 2026/02/09 21:51:29 wiz Exp $
+@comment $NetBSD: PLIST,v 1.53 2026/04/07 18:16:42 tnn Exp $
 lib/cmake/Boost-${PKGVERSION}/BoostConfig.cmake
 lib/cmake/Boost-${PKGVERSION}/BoostConfigVersion.cmake
 lib/cmake/BoostDetectToolset-${PKGVERSION}.cmake
@@ -14,6 +14,14 @@ lib/cmake/boost_chrono-${PKGVERSION}/boo
 lib/cmake/boost_chrono-${PKGVERSION}/boost_chrono-config.cmake
 lib/cmake/boost_chrono-${PKGVERSION}/libboost_chrono-variant-shared.cmake
 lib/cmake/boost_chrono-${PKGVERSION}/libboost_chrono-variant-static.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt-${PKGVERSION}/boost_cobalt-config-version.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt-${PKGVERSION}/boost_cobalt-config.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt-${PKGVERSION}/libboost_cobalt-variant-shared.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt-${PKGVERSION}/libboost_cobalt-variant-static.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt_io-${PKGVERSION}/boost_cobalt_io-config-version.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt_io-${PKGVERSION}/boost_cobalt_io-config.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt_io-${PKGVERSION}/libboost_cobalt_io-variant-shared.cmake
+${PLIST.cobalt}lib/cmake/boost_cobalt_io-${PKGVERSION}/libboost_cobalt_io-variant-static.cmake
 lib/cmake/boost_container-${PKGVERSION}/boost_container-config-version.cmake
 lib/cmake/boost_container-${PKGVERSION}/boost_container-config.cmake
 lib/cmake/boost_container-${PKGVERSION}/libboost_container-variant-shared.cmake
@@ -185,6 +193,12 @@ lib/libboost_charconv.so.${PKGVERSION}
 lib/libboost_chrono.a
 lib/libboost_chrono.so
 lib/libboost_chrono.so.${PKGVERSION}
+${PLIST.cobalt}lib/libboost_cobalt.a
+${PLIST.cobalt}lib/libboost_cobalt.so
+${PLIST.cobalt}lib/libboost_cobalt.so.${PKGVERSION}
+${PLIST.cobalt}lib/libboost_cobalt_io.a
+${PLIST.cobalt}lib/libboost_cobalt_io.so
+${PLIST.cobalt}lib/libboost_cobalt_io.so.${PKGVERSION}
 lib/libboost_container.a
 lib/libboost_container.so
 lib/libboost_container.so.${PKGVERSION}



Home | Main Index | Thread Index | Old Index