diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-16 23:26:32 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-16 23:26:32 +0000 |
commit | 163bbe0e8bd0ab4c35f8ce35f3d62fe1d87b8251 (patch) | |
tree | 47cd10f0be6f3b89e36072faaa6408780573d51f /dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild | |
parent | Version bump, test cleanup. (diff) | |
download | gentoo-2-163bbe0e8bd0ab4c35f8ce35f3d62fe1d87b8251.tar.gz gentoo-2-163bbe0e8bd0ab4c35f8ce35f3d62fe1d87b8251.tar.bz2 gentoo-2-163bbe0e8bd0ab4c35f8ce35f3d62fe1d87b8251.zip |
Add ~x86-fbsd keyword (and relative fixes).
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild')
-rw-r--r-- | dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild b/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild index 564e48bb2072..4bb3b6b4b9ff 100644 --- a/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild,v 1.6 2006/03/22 21:18:59 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild,v 1.7 2006/07/16 23:26:32 flameeyes Exp $ inherit eutils toolchain-funcs multilib @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.tar.gz" LICENSE="NPL-1.1" SLOT="0" -KEYWORDS="~amd64 ~hppa ppc ppc64 x86" +KEYWORDS="~amd64 ~hppa ppc ppc64 x86 ~x86-fbsd" IUSE="" S=${WORKDIR}/js/src @@ -20,6 +20,10 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-1.5-build.patch + if [[ ${CHOST} == *-freebsd* ]]; then + # Don't try to be smart, this does not work in cross-compile anyway + ln -s "${S}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" + fi } src_compile() { |