diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-03 19:52:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-03 19:52:40 +0000 |
commit | c5f1cda125173b042875f5242bf9fa2157b05785 (patch) | |
tree | e7c77df749370797ff98f8c63cbaf5794e3fb1f9 /sys-apps | |
parent | gcc 4.1 patch thanks to Hanno (diff) | |
download | gentoo-2-c5f1cda125173b042875f5242bf9fa2157b05785.tar.gz gentoo-2-c5f1cda125173b042875f5242bf9fa2157b05785.tar.bz2 gentoo-2-c5f1cda125173b042875f5242bf9fa2157b05785.zip |
make sure we reset CHOST or src_install may fail on multiabi systems
(Portage version: 2.0.53)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/sandbox/sandbox-1.2.16.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sys-apps/sandbox/sandbox-1.2.16.ebuild b/sys-apps/sandbox/sandbox-1.2.16.ebuild index 2a64ad33e30b..579c367258eb 100644 --- a/sys-apps/sandbox/sandbox-1.2.16.ebuild +++ b/sys-apps/sandbox/sandbox-1.2.16.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.16.ebuild,v 1.1 2005/12/02 12:48:51 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.2.16.ebuild,v 1.2 2005/12/03 19:52:40 vapier Exp $ # # don't monkey with this ebuild unless contacting portage devs. @@ -66,8 +66,8 @@ src_compile() { [[ -n ${CBUILD} && ${CBUILD} != ${CHOST} ]] && iscross=1 - OABI="${ABI}" - OCHOST="${CHOST}" + OABI=${ABI} + OCHOST=${CHOST} for ABI in $(get_install_abis); do mkdir "${WORKDIR}/build-${ABI}-${OCHOST}" cd "${WORKDIR}/build-${ABI}-${OCHOST}" @@ -89,27 +89,26 @@ src_compile() { die "emake failed for ${ABI}" } done - ABI="${OABI}" + ABI=${OABI} + CHOST=${OCHOST} } src_install() { setup_multilib - OABI="${ABI}" + OABI=${ABI} for ABI in $(get_install_abis); do cd "${WORKDIR}/build-${ABI}-${CHOST}" einfo "Installing sandbox for ABI=${ABI}..." make DESTDIR="${D}" install || die "make install failed for ${ABI}" done - ABI="${OABI}" + ABI=${OABI} keepdir /var/log/sandbox fowners root:portage /var/log/sandbox fperms 0770 /var/log/sandbox - for x in "${S}"/{AUTHORS,COPYING,ChangeLog,NEWS,README} ; do - [[ -s ${x} ]] && dodoc "${x}" - done + dodoc AUTHORS ChangeLog NEWS README } pkg_preinst() { |