diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-05-04 22:51:07 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-05-04 22:51:07 +0000 |
commit | 0b3773a38f2dea8d5dd8d416af0f5995c8a72c9e (patch) | |
tree | 032848c06467e879f688549ba606096421cf2961 /sys-apps/sandbox | |
parent | arm/s390 stable #90619 (diff) | |
download | gentoo-2-0b3773a38f2dea8d5dd8d416af0f5995c8a72c9e.tar.gz gentoo-2-0b3773a38f2dea8d5dd8d416af0f5995c8a72c9e.tar.bz2 gentoo-2-0b3773a38f2dea8d5dd8d416af0f5995c8a72c9e.zip |
Add multilib message to configure borkage as well.
(Portage version: 2.0.51.21)
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r-- | sys-apps/sandbox/sandbox-1.2.5.ebuild | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/sys-apps/sandbox/sandbox-1.2.5.ebuild b/sys-apps/sandbox/sandbox-1.2.5.ebuild index 40ddc613063d..5680441086b7 100644 --- a/sys-apps/sandbox/sandbox-1.2.5.ebuild +++ b/sys-apps/sandbox/sandbox-1.2.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.2.5.ebuild,v 1.1 2005/05/04 15:16:00 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.2.5.ebuild,v 1.2 2005/05/04 22:51:07 azarah Exp $ # # don't monkey with this ebuild unless contacting portage devs. @@ -50,6 +50,17 @@ src_unpack() { fi } +abi_fail_check() { + local ABI=$1 + if [[ ${ABI} == "x86" ]] ; then + echo + eerror "Building failed for ABI=x86!. This usually means a broken" + eerror "multilib setup. Please fix that before filling a bugreport" + eerror "against sandbox." + echo + fi +} + src_compile() { filter-lfs-flags #90228 if has_multilib_profile ; then @@ -59,16 +70,13 @@ src_compile() { export ABI cd ${S}-${ABI} einfo "Configuring sandbox for ABI=${ABI}..." - econf --libdir="/usr/$(get_libdir)" || die "econf failed for ${ABI}" + econf --libdir="/usr/$(get_libdir)" || { + abi_fail_check + die "econf failed for ${ABI}" + } einfo "Building sandbox for ABI=${ABI}..." emake || { - if [[ ${ABI} == "x86" ]] ; then - echo - eerror "Building failed for ABI=x86!. This usually means a broken" - eerror "multilib setup. Please fix that before filling a bugreport" - eerror "against sandbox." - echo - fi + abi_fail_check die "emake failed for ${ABI}" } done |