sys-apps/file: build magic.h before libmagic.la #586444
authorMike Frysinger <vapier@gentoo.org>
Sat, 25 Jun 2016 03:07:30 +0000 (23:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 25 Jun 2016 03:09:12 +0000 (23:09 -0400)
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
sys-apps/file/file-9999.ebuild

index 6ebccd647f2205a179a0fd4d1061141d8613d20f..ee20eaae3ae8b2db5eef027b44fe79ce6c3823dc 100644 (file)
@@ -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
 }
 
index 658a92fa32a295d6fec712e342c00a3b74fbe4b1..1bdaeccf4330ef89f2c3e91aa3c0ca155970d411 100644 (file)
@@ -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
 }