public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jory Pratt (anarchy)" <anarchy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey: ChangeLog spidermonkey-1.8.5-r1.ebuild
Date: Mon,  7 May 2012 17:51:46 +0000 (UTC)	[thread overview]
Message-ID: <20120507175146.CE0462004B@flycatcher.gentoo.org> (raw)

anarchy     12/05/07 17:51:46

  Modified:             ChangeLog spidermonkey-1.8.5-r1.ebuild
  Log:
  Fix cross compilation bug #414473
  
  (Portage version: 2.1.10.57/cvs/Linux x86_64)

Revision  Changes    Path
1.74                 dev-lang/spidermonkey/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/ChangeLog?rev=1.74&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/ChangeLog?rev=1.74&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/ChangeLog?r1=1.73&r2=1.74

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- ChangeLog	3 May 2012 02:41:39 -0000	1.73
+++ ChangeLog	7 May 2012 17:51:46 -0000	1.74
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/spidermonkey
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.73 2012/05/03 02:41:39 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/ChangeLog,v 1.74 2012/05/07 17:51:46 anarchy Exp $
+
+  07 May 2012; Jory A. Pratt <anarchy@gentoo.org> spidermonkey-1.8.5-r1.ebuild:
+  Fix cross compilation bug #414473
 
   03 May 2012; Jeff Horelick <jdhore@gentoo.org> spidermonkey-1.8.2.15.ebuild,
   spidermonkey-1.8.2.15-r1.ebuild, spidermonkey-1.8.5-r1.ebuild:



1.7                  dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild?r1=1.6&r2=1.7

Index: spidermonkey-1.8.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- spidermonkey-1.8.5-r1.ebuild	3 May 2012 02:41:39 -0000	1.6
+++ spidermonkey-1.8.5-r1.ebuild	7 May 2012 17:51:46 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild,v 1.6 2012/05/03 02:41:39 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.5-r1.ebuild,v 1.7 2012/05/07 17:51:46 anarchy Exp $
 
 EAPI="3"
 WANT_AUTOCONF="2.1"
@@ -70,6 +70,27 @@
 
 src_compile() {
 	cd "${BUILDDIR}"
+	if tc-is-cross-compiler; then
+		make CFLAGS="" CXXFLAGS="" \
+			CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
+			jscpucfg host_jsoplengen host_jskwgen || die
+		make CFLAGS="" CXXFLAGS="" \
+			CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
+			-C config nsinstall || die
+		mv {,native-}jscpucfg
+		mv {,native-}host_jskwgen
+		mv {,native-}host_jsoplengen
+		mv config/{,native-}nsinstall
+		sed -e 's@./jscpucfg@./native-jscpucfg@' \
+			-e 's@./host_jskwgen@./native-host_jskwgen@' \
+			-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
+			-i Makefile
+		sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk
+		rm config/host_nsinstall.o \
+			config/host_pathsub.o \
+			host_jskwgen.o \
+			host_jsoplengen.o
+	fi
 	emake || die
 }
 






             reply	other threads:[~2012-05-07 17:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 17:51 Jory Pratt (anarchy) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-25 18:56 [gentoo-commits] gentoo-x86 commit in dev-lang/spidermonkey: ChangeLog spidermonkey-1.8.5-r1.ebuild Raul Porcel (armin76)
2012-10-27 14:22 Tobias Klausmann (klausman)
2012-10-21 19:49 Anthony G. Basile (blueness)
2012-10-19  5:04 Andreas Schuerch (nativemad)
2012-10-17 12:57 Jeroen Roovers (jer)
2012-10-04 17:13 Agostino Sarubbo (ago)
2012-01-30 19:36 Jory Pratt (anarchy)
2012-01-25 14:26 Jory Pratt (anarchy)
2011-11-26  4:49 Ryan Hill (dirtyepic)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120507175146.CE0462004B@flycatcher.gentoo.org \
    --to=anarchy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox