From: Joonas Niilola Date: Thu, 23 Aug 2018 14:08:50 +0000 (+0300) Subject: media-libs/imlib2: fix build issue with 'doc' USE in 1.5.1-r1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=069f996669210ce98261870a6e65bddf6dfe3576;p=gentoo.git media-libs/imlib2: fix build issue with 'doc' USE in 1.5.1-r1 Package-Manager: Portage[mgorny]-2.3.43.3 Closes: https://github.com/gentoo/gentoo/pull/9674 --- diff --git a/media-libs/imlib2/imlib2-1.5.1-r1.ebuild b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild index 54c743ce05e5..b324395625ce 100644 --- a/media-libs/imlib2/imlib2-1.5.1-r1.ebuild +++ b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild @@ -64,12 +64,13 @@ multilib_src_configure() { multilib_src_install() { V=1 emake install DESTDIR="${D}" + find "${D}" -name '*.la' -delete || die +} +multilib_src_install_all() { if use doc; then local HTML_DOCS=( "${S}"/doc/. ) rm "${S}"/doc/Makefile.{am,in} || die fi einstalldocs - - find "${D}" -name '*.la' -delete || die }