From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B72D1198005 for ; Sun, 10 Mar 2013 10:18:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E22E4E0712; Sun, 10 Mar 2013 10:17:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E007E06F4 for ; Sun, 10 Mar 2013 10:17:47 +0000 (UTC) Received: from pomiocik.lan (77-255-9-250.adsl.inetia.pl [77.255.9.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 0D71433BEC9; Sun, 10 Mar 2013 10:17:44 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: hasufell@gentoo.org, python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 3/7] multilib-minimal: split out mkdir to unify sub-functions. Date: Sun, 10 Mar 2013 11:18:07 +0100 Message-Id: <1362910691-8439-3-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <20130310111644.0840d935@pomiocik.lan> References: <20130310111644.0840d935@pomiocik.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: fc223a1d-fad9-4e60-a0fb-603f0cbb87ac X-Archives-Hash: 29b2ec213dcfbea53ba2c86bd32c2622 --- gx86/eclass/multilib-minimal.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gx86/eclass/multilib-minimal.eclass b/gx86/eclass/multilib-minimal.eclass index 070425f..a77368e 100644 --- a/gx86/eclass/multilib-minimal.eclass +++ b/gx86/eclass/multilib-minimal.eclass @@ -30,14 +30,18 @@ case ${EAPI:-0} in esac -inherit multilib-build +inherit multibuild multilib-build EXPORT_FUNCTIONS src_configure src_compile src_test src_install multilib-minimal_src_configure() { - multilib-minimal_abi_src_configure() { + _multilib-minimal_mkdir() { mkdir -p "${BUILD_DIR}" || die + } + multilib_foreach_abi _multilib-minimal_mkdir + + multilib-minimal_abi_src_configure() { pushd "${BUILD_DIR}" >/dev/null || die if declare -f multilib_src_configure >/dev/null ; then multilib_src_configure -- 1.8.1.5