sci-mathematics/cvc4: Add readline use flag
authorTupone Alfredo <tupone@gentoo.org>
Thu, 25 Jul 2019 06:12:57 +0000 (08:12 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Thu, 25 Jul 2019 06:12:57 +0000 (08:12 +0200)
Closes: https://github.com/gentoo/gentoo/pull/12536
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

sci-mathematics/cvc4/cvc4-1.7.ebuild

index cc6e6eb4f4f6aca78e140ce5c2891c43d1d9a13f..09aab161f76d8244fb8a12f66614344c42a4d783 100644 (file)
@@ -12,11 +12,12 @@ SRC_URI="https://github.com/CVC4/CVC4/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+cln +statistics proofs replay"
+IUSE="+cln proofs readline replay +statistics"
 
 RDEPEND="dev-libs/antlr-c
        dev-java/antlr:3
        dev-libs/boost
+       readline? ( sys-libs/readline:0= )
        cln? ( sci-libs/cln )
        !cln? ( dev-libs/gmp:= )"
 DEPEND="${RDEPEND}"
@@ -32,6 +33,7 @@ src_configure() {
                -DENABLE_GPL=ON
                -DENABLE_OPTIMIZED=ON
                -DUSE_CLN="$(usex cln ON OFF)"
+               -DUSE_READLINE="$(usex readline ON OFF)"
                -DENABLE_STATISTICS="$(usex statistics ON OFF)"
                -DENABLE_PROOFS="$(usex proofs ON OFF)"
                -DENABLE_REPLAY="$(usex replay ON OFF)"