diff options
author | Jeroen Roovers <jer@gentoo.org> | 2005-12-02 22:21:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2005-12-02 22:21:45 +0000 |
commit | f9d810262bcf74eceb45636324e49a5b133aae45 (patch) | |
tree | ce9f14dd27d32ad5770da126a90a484f2511266b /dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild | |
parent | GStreamer 0.10 prerelease (diff) | |
download | gentoo-2-f9d810262bcf74eceb45636324e49a5b133aae45.tar.gz gentoo-2-f9d810262bcf74eceb45636324e49a5b133aae45.tar.bz2 gentoo-2-f9d810262bcf74eceb45636324e49a5b133aae45.zip |
More cleanups (call tc-get* only 3 times).
(Portage version: 2.0.53)
Diffstat (limited to 'dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild')
-rw-r--r-- | dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild b/dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild index e4458c109121..a8fc18b52372 100644 --- a/dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.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/dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild,v 1.9 2005/12/02 22:06:58 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.5_rc6-r1.ebuild,v 1.10 2005/12/02 22:21:45 jer Exp $ inherit eutils toolchain-funcs @@ -33,14 +33,16 @@ install-headers: $(HFILES) install -g root -o root -m 555 -d $(DESTDIR)/usr/include/js install -g root -o root -m 444 $^ $(DESTDIR)/usr/include/js EOF - + local MY_CC="$(tc-getCC)" + local MY_LD="$(tc-getLD)" + local MY_AR="$(tc-getAR)" do_my_compile() { emake -j1 \ -f Makefile.ref \ BUILD_OPT=1 \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - AR="$(tc-getAR)" + CC="${MY_CC}" \ + LD="${MY_LD}" \ + AR="${MY_AR}" } # it needs to run twice |