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 <sigsegv@radiotube.org>
This commit is contained in:
Jan-Espen Oversand
2024-12-15 20:56:01 +01:00
parent 60b68184ec
commit 2dba1beb6b
2 changed files with 2 additions and 4 deletions

View File

@@ -6,7 +6,6 @@
<description>Jan-Espen Oversand</description> <description>Jan-Espen Oversand</description>
</maintainer> </maintainer>
<use> <use>
<flag name="ubsan">Enable running with UB sanitizer</flag>
<flag name="cxx11">Enable c++11 support</flag> <flag name="cxx11">Enable c++11 support</flag>
</use> </use>
<upstream> <upstream>

View File

@@ -10,7 +10,7 @@ SRC_URI="https://sourceforge.net/projects/soci/files/soci/${P}/${P}.tar.gz/downl
LICENSE="Boost-1.0" LICENSE="Boost-1.0"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" 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 )" RESTRICT="!test? ( test )"
CMAKE_SKIP_TESTS=( CMAKE_SKIP_TESTS=(
@@ -38,9 +38,8 @@ DEPEND="${RDEPEND}"
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
-DSOCI_STATIC="$(usex static)" -DSOCI_STATIC="$(usex static-libs)"
-DSOCI_TESTS="$(usex test)" -DSOCI_TESTS="$(usex test)"
-DSOCI_UBSAN="$(usex ubsan)"
-DSOCI_LTO="$(usex lto)" -DSOCI_LTO="$(usex lto)"
-DSOCI_CXX11="$(usex cxx11)" -DSOCI_CXX11="$(usex cxx11)"
) )