dev-db/soci: Add USE static-libs,test
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Jun 2018 21:48:55 +0000 (23:48 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 1 Jul 2018 00:03:36 +0000 (02:03 +0200)
Package-Manager: Portage-2.3.41, Repoman-2.3.9

dev-db/soci/soci-3.2.3.ebuild

index ba430f65be3c18b0eca3c0c0b8004c7818a56f1f..1a2e67b81c1b9984794631000198d68647f554b9 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
 LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="boost doc +empty firebird mysql odbc oracle postgres sqlite"
+IUSE="boost doc +empty firebird mysql odbc oracle postgres sqlite static-libs test"
 
 DEPEND="
        boost? ( dev-libs/boost )
@@ -35,6 +35,8 @@ src_configure() {
                -DWITH_ORACLE=$(usex oracle)
                -DWITH_POSTGRESQL=$(usex postgres)
                -DWITH_SQLITE3=$(usex sqlite)
+               -DSOCI_STATIC=$(usex static-libs)
+               -DSOCI_TESTS=$(usex test)
                -DWITH_DB2=OFF
        )
        #use MYCMAKEARGS if you want enable IBM DB2 support