From 2dba1beb6be440cf9c024e59852b65eb2b9a80d5 Mon Sep 17 00:00:00 2001 From: Jan-Espen Oversand Date: Sun, 15 Dec 2024 20:56:01 +0100 Subject: [PATCH] dev-db/soci: rename static use, remove ubsan use Bug: https://bugs.gentoo.org/946512 Closes: https://bugs.gentoo.org/946512 Bug: https://bugs.gentoo.org/946513 Closes: https://bugs.gentoo.org/946513 Signed-off-by: Jan-Espen Oversand --- dev-db/soci/metadata.xml | 1 - dev-db/soci/{soci-4.0.3-r2.ebuild => soci-4.0.3-r3.ebuild} | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) rename dev-db/soci/{soci-4.0.3-r2.ebuild => soci-4.0.3-r3.ebuild} (87%) diff --git a/dev-db/soci/metadata.xml b/dev-db/soci/metadata.xml index 92d41d279c..e9eb83d072 100644 --- a/dev-db/soci/metadata.xml +++ b/dev-db/soci/metadata.xml @@ -6,7 +6,6 @@ Jan-Espen Oversand - Enable running with UB sanitizer Enable c++11 support diff --git a/dev-db/soci/soci-4.0.3-r2.ebuild b/dev-db/soci/soci-4.0.3-r3.ebuild similarity index 87% rename from dev-db/soci/soci-4.0.3-r2.ebuild rename to dev-db/soci/soci-4.0.3-r3.ebuild index 65a578e73c..ddf4ea0c6c 100644 --- a/dev-db/soci/soci-4.0.3-r2.ebuild +++ b/dev-db/soci/soci-4.0.3-r3.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://sourceforge.net/projects/soci/files/soci/${P}/${P}.tar.gz/downl LICENSE="Boost-1.0" SLOT="0" KEYWORDS="~amd64" -IUSE="odbc sqlite oracle postgres mysql +static test ubsan lto +cxx11" +IUSE="odbc sqlite oracle postgres mysql static-libs test lto +cxx11" RESTRICT="!test? ( test )" CMAKE_SKIP_TESTS=( @@ -38,9 +38,8 @@ DEPEND="${RDEPEND}" src_configure() { local mycmakeargs=( - -DSOCI_STATIC="$(usex static)" + -DSOCI_STATIC="$(usex static-libs)" -DSOCI_TESTS="$(usex test)" - -DSOCI_UBSAN="$(usex ubsan)" -DSOCI_LTO="$(usex lto)" -DSOCI_CXX11="$(usex cxx11)" )