diff --git a/dev-db/soci/metadata.xml b/dev-db/soci/metadata.xml index 69b1e1d6af..92d41d279c 100644 --- a/dev-db/soci/metadata.xml +++ b/dev-db/soci/metadata.xml @@ -7,7 +7,6 @@ Enable running with UB sanitizer - Enable dynamic linking with shared objects Enable c++11 support diff --git a/dev-db/soci/soci-4.0.3-r1.ebuild b/dev-db/soci/soci-4.0.3-r2.ebuild similarity index 87% rename from dev-db/soci/soci-4.0.3-r1.ebuild rename to dev-db/soci/soci-4.0.3-r2.ebuild index 3ca7b75a7f..65a578e73c 100644 --- a/dev-db/soci/soci-4.0.3-r1.ebuild +++ b/dev-db/soci/soci-4.0.3-r2.ebuild @@ -10,8 +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 +shared +static test ubsan lto cxx11" -REQUIRED_USE="|| ( shared static )" +IUSE="odbc sqlite oracle postgres mysql +static test ubsan lto +cxx11" RESTRICT="!test? ( test )" CMAKE_SKIP_TESTS=( @@ -39,7 +38,6 @@ DEPEND="${RDEPEND}" src_configure() { local mycmakeargs=( - -DSOCI_SHARED="$(usex shared)" -DSOCI_STATIC="$(usex static)" -DSOCI_TESTS="$(usex test)" -DSOCI_UBSAN="$(usex ubsan)"