commit: 9802ef6befad2a64360cc9ee86c6dd7ef8f2a46b
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 3 15:06:50 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 3 15:06:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9802ef6b
media-libs/raptor: Better configure
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
media-libs/raptor/raptor-2.0.15-r1.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/media-libs/raptor/raptor-2.0.15-r1.ebuild
b/media-libs/raptor/raptor-2.0.15-r1.ebuild
index 55dca5e226b..b9c2939587e 100644
--- a/media-libs/raptor/raptor-2.0.15-r1.ebuild
+++ b/media-libs/raptor/raptor-2.0.15-r1.ebuild
@@ -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[@]}"
}