Ice supports two different mappings (sets of libraries) for C++: C++98 and C++11. The current ebuild (3.7.8-r2) only builds C++98 mapping. The ebuild should allow both C++ mappings to be built. - the current Ice documentation examples and the demos mostly assume the C++11 mapping. - C++98 is subtly awkward these days, e.g. callbacks are function ptr rather than lambda/std::function. The Ice build already has the option to build any/all of the different mappings, by setting the CONFIGS value for make. The "C++11 Mapping" section in the cpp/README.md says to do the following to get the c++11 mappings: make CONFIGS=cpp11-shared CONFIGS can also be a list, so the following generates the libraries for both mappings: make "CONFIGS=shared cpp11-shared" The bin/lib files generated for the C++11 mapping are suffixed with "++11", so they can co-exist in the same directories as ones from the default C++98 mapping. As a result, the install does the right thing. Reproducible: Always
Created attachment 859037 [details, diff] Enable C++11 mapping Based on dev-libs/Ice-3.7.8-r2 Adds a local use flag to control whether to additionally build the C++11 mapping. If the new use flag is set, modify the MAKE_RULES to build the default C++98 and C++11 mapping. Retains C++98 mapping to avoid disturbing dependent packages.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4af926673d04287d7471056d9d32333a92c650ba commit 4af926673d04287d7471056d9d32333a92c650ba Author: Robert Förster <Dessa@gmake.de> AuthorDate: 2024-02-18 23:36:05 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-03-16 11:52:38 +0000 dev-libs/Ice: version bump Bug: https://bugs.gentoo.org/905874 Bug: https://bugs.gentoo.org/903121 Closes: https://bugs.gentoo.org/908387 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/35417 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-libs/Ice/Ice-3.7.10-r1.ebuild | 258 ++++++++++++++++++++++++++++++++++++++ dev-libs/Ice/Ice-3.7.10-r2.ebuild | 258 ++++++++++++++++++++++++++++++++++++++ dev-libs/Ice/Ice-3.7.10.ebuild | 258 ++++++++++++++++++++++++++++++++++++++ dev-libs/Ice/Manifest | 1 + 4 files changed, 775 insertions(+)