summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-16 23:26:32 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-16 23:26:32 +0000
commit163bbe0e8bd0ab4c35f8ce35f3d62fe1d87b8251 (patch)
tree47cd10f0be6f3b89e36072faaa6408780573d51f /dev-lang/spidermonkey
parentVersion bump, test cleanup. (diff)
downloadgentoo-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')
-rw-r--r--dev-lang/spidermonkey/ChangeLog6
-rw-r--r--dev-lang/spidermonkey/files/digest-spidermonkey-1.52
-rw-r--r--dev-lang/spidermonkey/files/digest-spidermonkey-1.5-r12
-rw-r--r--dev-lang/spidermonkey/files/spidermonkey-1.5-build.patch2
-rw-r--r--dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild8
5 files changed, 16 insertions, 4 deletions
diff --git a/dev-lang/spidermonkey/ChangeLog b/dev-lang/spidermonkey/ChangeLog
index 14de46f00be7..37cbb1e915cf 100644
--- a/dev-lang/spidermonkey/ChangeLog
+++ b/dev-lang/spidermonkey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/spidermonkey
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.22 2006/03/22 21:18:59 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.23 2006/07/16 23:26:32 flameeyes Exp $
+
+ 16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/spidermonkey-1.5-build.patch, spidermonkey-1.5-r1.ebuild:
+ Add ~x86-fbsd keyword (and relative fixes).
22 Mar 2006; Michael Hanselmann <hansmi@gentoo.org>
spidermonkey-1.5-r1.ebuild:
diff --git a/dev-lang/spidermonkey/files/digest-spidermonkey-1.5 b/dev-lang/spidermonkey/files/digest-spidermonkey-1.5
index 4fa79f7b5b9f..e540f24e336b 100644
--- a/dev-lang/spidermonkey/files/digest-spidermonkey-1.5
+++ b/dev-lang/spidermonkey/files/digest-spidermonkey-1.5
@@ -1 +1,3 @@
MD5 863bb6462f4ce535399a7c6276ae6776 js-1.5.tar.gz 958135
+RMD160 a1f23d53c259a9fa354f29eecdc1c56472f4f626 js-1.5.tar.gz 958135
+SHA256 ef72a154320c9949f8de0732e8dbfa186b83feb0a5e890d90807757de9998585 js-1.5.tar.gz 958135
diff --git a/dev-lang/spidermonkey/files/digest-spidermonkey-1.5-r1 b/dev-lang/spidermonkey/files/digest-spidermonkey-1.5-r1
index 4fa79f7b5b9f..e540f24e336b 100644
--- a/dev-lang/spidermonkey/files/digest-spidermonkey-1.5-r1
+++ b/dev-lang/spidermonkey/files/digest-spidermonkey-1.5-r1
@@ -1 +1,3 @@
MD5 863bb6462f4ce535399a7c6276ae6776 js-1.5.tar.gz 958135
+RMD160 a1f23d53c259a9fa354f29eecdc1c56472f4f626 js-1.5.tar.gz 958135
+SHA256 ef72a154320c9949f8de0732e8dbfa186b83feb0a5e890d90807757de9998585 js-1.5.tar.gz 958135
diff --git a/dev-lang/spidermonkey/files/spidermonkey-1.5-build.patch b/dev-lang/spidermonkey/files/spidermonkey-1.5-build.patch
index 3328757dd994..a5c4b47db529 100644
--- a/dev-lang/spidermonkey/files/spidermonkey-1.5-build.patch
+++ b/dev-lang/spidermonkey/files/spidermonkey-1.5-build.patch
@@ -19,7 +19,7 @@
+BINDIR := $(PREFIX)/bin
+MY_LIBDIR := $(PREFIX)/$(LIBDIR)
+INCLUDEDIR := $(PREFIX)/include/js
-+INSTALL := install -g root -o root
++INSTALL := install -g 0 -o root
+install:
+ $(INSTALL) -m 755 -d $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(MY_LIBDIR) $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(SHARED_LIBRARY) $(DESTDIR)$(MY_LIBDIR)
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() {