From b60e6814ea6c95cedac4e03c2a1ce574207dea30 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Jun 2016 23:07:30 -0400 Subject: [PATCH] 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. --- sys-apps/file/file-5.28.ebuild | 4 +++- sys-apps/file/file-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 } -- 2.26.2