mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-apps/file: apply missing magic.h fix from bug #586444
The bug #586444 manifested on a cross-compiler case as well when we built native 'file'. Reported-by: n05 on #gentoo-embedded Package-Manager: portage-2.3.0
This commit is contained in:
@@ -87,6 +87,7 @@ multilib_src_compile() {
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; then
|
||||
emake -C "${WORKDIR}"/build/src magic.h #586444
|
||||
emake -C "${WORKDIR}"/build/src file
|
||||
PATH="${WORKDIR}/build/src:${PATH}"
|
||||
fi
|
||||
|
||||
@@ -85,6 +85,7 @@ multilib_src_compile() {
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; then
|
||||
emake -C "${WORKDIR}"/build/src magic.h #586444
|
||||
emake -C "${WORKDIR}"/build/src file
|
||||
PATH="${WORKDIR}/build/src:${PATH}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user