From: Lars Wendler Date: Thu, 18 Apr 2019 18:06:58 +0000 (+0200) Subject: net-libs/nghttp2: Minor ebuild improvement X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=98d4dfcd351708fbb50a86f20ebf82d8d93096d2;p=gentoo.git net-libs/nghttp2: Minor ebuild improvement Package-Manager: Portage-2.3.63, Repoman-2.3.12 Signed-off-by: Lars Wendler --- diff --git a/net-libs/nghttp2/nghttp2-1.37.0.ebuild b/net-libs/nghttp2/nghttp2-1.37.0.ebuild index 20f89187f0fb..f27032d7957e 100644 --- a/net-libs/nghttp2/nghttp2-1.37.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.37.0.ebuild @@ -64,5 +64,7 @@ multilib_src_configure() { } multilib_src_install_all() { - use static-libs || find "${ED%/}"/usr -name '*.la' -delete + if ! use static-libs ; then + find "${ED}"/usr -name '*.la' -delete || die + fi } diff --git a/net-libs/nghttp2/nghttp2-1.38.0.ebuild b/net-libs/nghttp2/nghttp2-1.38.0.ebuild index 633fb68774c7..1979bd70cc2c 100644 --- a/net-libs/nghttp2/nghttp2-1.38.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.38.0.ebuild @@ -83,5 +83,7 @@ multilib_src_configure() { } multilib_src_install_all() { - use static-libs || find "${ED%/}"/usr -name '*.la' -delete + if ! use static-libs ; then + find "${ED}"/usr -name '*.la' -delete || die + fi } diff --git a/net-libs/nghttp2/nghttp2-9999.ebuild b/net-libs/nghttp2/nghttp2-9999.ebuild index e5d039fc7180..0950bfb1def2 100644 --- a/net-libs/nghttp2/nghttp2-9999.ebuild +++ b/net-libs/nghttp2/nghttp2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # TODO: Add python support. @@ -69,5 +69,7 @@ multilib_src_configure() { } multilib_src_install_all() { - use static-libs || find "${ED%/}"/usr -name '*.la' -delete + if ! use static-libs ; then + find "${ED}"/usr -name '*.la' -delete || die + fi }