diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2009-12-23 19:53:47 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2009-12-23 19:53:47 +0000 |
commit | 3142fc1ac4f8c8a3401c042880fa342c60171ea2 (patch) | |
tree | e7564131c1e47baa8facc08dac119f1d8d5aae61 /dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild | |
parent | Update live ebuild, sync with latest snapshot. (diff) | |
download | gentoo-2-3142fc1ac4f8c8a3401c042880fa342c60171ea2.tar.gz gentoo-2-3142fc1ac4f8c8a3401c042880fa342c60171ea2.tar.bz2 gentoo-2-3142fc1ac4f8c8a3401c042880fa342c60171ea2.zip |
Don't abort with src_test, just because there is no testsuite (#297954); allow building on amd64 multilib
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild')
-rw-r--r-- | dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild b/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild index 65b887db5615..5add3d072109 100644 --- a/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild +++ b/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild,v 1.1 2008/12/14 20:59:32 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tendra/tendra-5.0_pre20070510-r2.ebuild,v 1.2 2009/12/23 19:53:47 truedfx Exp $ -inherit eutils flag-o-matic bsdmk +inherit bsdmk eutils flag-o-matic multilib REV=1073 -PATCHVER=1.5 +PATCHVER=1.6 DESCRIPTION="A C/C++ compiler initially developed by DERA" HOMEPAGE="http://www.tendra.org/" @@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/${PN}-${REV}.tbz2 LICENSE="as-is" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" @@ -26,7 +26,9 @@ RDEPEND="!dev-lang/tcc" S=${WORKDIR}/trunk pkg_setup() { - export MAKE=$(get_bmake) + export BMAKE="$(get_bmake) ${MAKEOPTS}" + + use amd64 && multilib_toolchain_setup x86 } src_unpack() { @@ -38,12 +40,12 @@ src_unpack() { src_compile() { replace-flags '-O*' '-O' - PREFIX=/usr sh makedefs || die "makedefs failed" - emake -DBOOTSTRAP || die "bootstrap failed" - emake || die "build failed" + HOSTARCH=i386 PREFIX=/usr sh makedefs || die "makedefs failed" + ${BMAKE} -DBOOTSTRAP || die "bootstrap failed" + ${BMAKE} || die "build failed" } src_install() { - emake PREFIX="${D}usr" \ + ${BMAKE} PREFIX="${D}usr" \ MAN_DIR='${PREFIX}/share/man' install || die "install failed" } |