commit:     e415be8c3e73b62f5939bd3a4f111639cd77ce0a
Author:     Yuta Satoh <nigoro.dev <AT> gmail <DOT> com>
AuthorDate: Wed Oct 12 11:02:42 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 11:23:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e415be8c

sys-freebsd/freebsd-ubin: fix build failure m4

 sys-freebsd/freebsd-ubin/freebsd-ubin-11.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-11.0.ebuild 
b/sys-freebsd/freebsd-ubin/freebsd-ubin-11.0.ebuild
index 537aad0..8cca4ec 100644
--- a/sys-freebsd/freebsd-ubin/freebsd-ubin-11.0.ebuild
+++ b/sys-freebsd/freebsd-ubin/freebsd-ubin-11.0.ebuild
@@ -144,13 +144,14 @@ setup_multilib_vars() {
 }
 
 src_compile() {
+       local MULTIBUILD_VARIANTS="${DEFAULT_ABI}"
        # Preparing to build addr2line, elfcopy, m4
        for dir in libelftc libpe libopenbsd ; do
                cd "${WORKDIR}/lib/${dir}" || die
-               freebsd_src_compile -j1
+               multibuild_foreach_variant freebsd_multilib_multibuild_wrapper 
freebsd_src_compile -j1
        done
 
-       local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
+       MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
        multibuild_foreach_variant freebsd_multilib_multibuild_wrapper 
setup_multilib_vars freebsd_src_compile -j1
 }
 

Reply via email to