From: Mike Frysinger Date: Sat, 25 Jun 2016 03:07:30 +0000 (-0400) Subject: sys-apps/file: build magic.h before libmagic.la #586444 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b60e6814ea6c95cedac4e03c2a1ce574207dea30;p=gentoo.git sys-apps/file: build magic.h before libmagic.la #586444 Since the header is a BUILT_SOURCES which is normally created only when you run `make all`, make sure we generate it by hand before building the library in the multilib case. --- diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild index 6ebccd647f22..ee20eaae3ae8 100644 --- a/sys-apps/file/file-5.28.ebuild +++ b/sys-apps/file/file-5.28.ebuild @@ -78,7 +78,9 @@ multilib_src_compile() { if multilib_is_native_abi ; then emake else - emake -C src libmagic.la + cd src + emake magic.h #586444 + emake libmagic.la fi } diff --git a/sys-apps/file/file-9999.ebuild b/sys-apps/file/file-9999.ebuild index 658a92fa32a2..1bdaeccf4330 100644 --- a/sys-apps/file/file-9999.ebuild +++ b/sys-apps/file/file-9999.ebuild @@ -78,7 +78,9 @@ multilib_src_compile() { if multilib_is_native_abi ; then emake else - emake -C src libmagic.la + cd src + emake magic.h #586444 + emake libmagic.la fi }