media-libs/raptor: Better configure

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
This commit is contained in:
Andreas Sturmlechner
2018-10-03 17:06:50 +02:00
parent 16fc50a15d
commit 9802ef6bef
+2 -3
View File
@@ -49,14 +49,13 @@ src_configure() {
# FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn!
local myeconfargs=(
--with-www=xml
--with-html-dir="${EPREFIX}"/usr/share/gtk-doc/html
$(usex curl --with-www=curl --with-www=xml)
$(use_enable debug)
$(use_with json yajl)
$(use_enable static-libs static)
$(usex unicode "--with-icu-config="${EPREFIX}"/usr/bin/icu-config" '')
$(usex unicode --with-icu-config="${EPREFIX}"/usr/bin/icu-config '')
)
use curl && myeconfargs+=( --with-www=curl )
econf "${myeconfargs[@]}"
}