commit:     2dba1beb6be440cf9c024e59852b65eb2b9a80d5
Author:     Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org>
AuthorDate: Sun Dec 15 19:56:01 2024 +0000
Commit:     Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org>
CommitDate: Sun Dec 15 19:56:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2dba1beb

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 <AT> radiotube.org>

 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(-)

diff --git a/dev-db/soci/metadata.xml b/dev-db/soci/metadata.xml
index 92d41d279..e9eb83d07 100644
--- a/dev-db/soci/metadata.xml
+++ b/dev-db/soci/metadata.xml
@@ -6,7 +6,6 @@
     <description>Jan-Espen Oversand</description>
   </maintainer>
   <use>
-    <flag name="ubsan">Enable running with UB sanitizer</flag>
     <flag name="cxx11">Enable c++11 support</flag>
   </use>
   <upstream>

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 65a578e73..ddf4ea0c6 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)"
        )

Reply via email to