media-libs/raptor: Better configure
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 3 Oct 2018 15:06:50 +0000 (17:06 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 3 Oct 2018 15:06:50 +0000 (17:06 +0200)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

media-libs/raptor/raptor-2.0.15-r1.ebuild

index 55dca5e226bb2585da46946ca1dc2b18d2579b9b..b9c2939587e12931c32590bd6e662b72f4a88489 100644 (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[@]}"
 }