net-libs/nghttp2: Synced live ebuild.
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 20 Dec 2017 12:11:26 +0000 (13:11 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 20 Dec 2017 12:11:26 +0000 (13:11 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-libs/nghttp2/nghttp2-9999.ebuild

index f340b41cdaf20b87a61dfc859a80074b5ef050c0..f7c762907e068fb2e404ad0acf91fecf16704e7a 100644 (file)
@@ -44,24 +44,24 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       ECONF_SOURCE=${S} \
-       econf \
-               --disable-examples \
-               --disable-failmalloc \
-               --disable-werror \
-               --without-cython \
-               --disable-python-bindings \
-               --without-spdylay \
-               $(use_enable cxx asio-lib) \
-               $(use_enable debug) \
-               $(multilib_native_use_enable hpack-tools) \
-               $(use_enable static-libs static) \
-               $(use_enable threads) \
-               $(multilib_native_use_enable utils app) \
-               $(multilib_native_use_with jemalloc) \
+       local myeconfargs=(
+               --disable-examples
+               --disable-failmalloc
+               --disable-werror
+               --without-cython
+               --disable-python-bindings
+               $(use_enable cxx asio-lib)
+               $(use_enable debug)
+               $(multilib_native_use_enable hpack-tools)
+               $(use_enable static-libs static)
+               $(use_enable threads)
+               $(multilib_native_use_enable utils app)
+               $(multilib_native_use_with jemalloc)
                $(multilib_native_use_with xml libxml2)
+       )
+       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
 multilib_src_install_all() {
-       use static-libs || find "${ED}" -name '*.la' -delete
+       use static-libs || find "${ED%/}"/usr -name '*.la' -delete
 }