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