diff options
author | Michael Januszewski <spock@gentoo.org> | 2011-06-12 12:11:05 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2011-06-12 12:11:05 +0000 |
commit | 0c88ab293066e0454d2eab19693b4014b65e8fc6 (patch) | |
tree | 38e3b4ca693a895946c0c332d58ee7d653fcedeb /www-client/elinks/elinks-0.12_pre5-r1.ebuild | |
parent | alpha/ia64/s390/sh/sparc stable wrt #369403 (diff) | |
download | gentoo-2-0c88ab293066e0454d2eab19693b4014b65e8fc6.tar.gz gentoo-2-0c88ab293066e0454d2eab19693b4014b65e8fc6.tar.bz2 gentoo-2-0c88ab293066e0454d2eab19693b4014b65e8fc6.zip |
Add support for spidermonkey-1.9*
(Portage version: 2.1.10.2/cvs/Linux x86_64)
Diffstat (limited to 'www-client/elinks/elinks-0.12_pre5-r1.ebuild')
-rw-r--r-- | www-client/elinks/elinks-0.12_pre5-r1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www-client/elinks/elinks-0.12_pre5-r1.ebuild b/www-client/elinks/elinks-0.12_pre5-r1.ebuild index 7bf84a30e860..02a6a13660b7 100644 --- a/www-client/elinks/elinks-0.12_pre5-r1.ebuild +++ b/www-client/elinks/elinks-0.12_pre5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre5-r1.ebuild,v 1.8 2011/01/31 16:53:59 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/elinks/elinks-0.12_pre5-r1.ebuild,v 1.9 2011/06/12 12:11:05 spock Exp $ EAPI="3" @@ -32,7 +32,7 @@ DEPEND="dev-libs/boehm-gc perl? ( sys-devel/libperl ) ruby? ( dev-lang/ruby dev-ruby/rubygems ) samba? ( net-fs/samba ) - javascript? ( <=dev-lang/spidermonkey-1.9 )" + javascript? ( <dev-lang/spidermonkey-2.0 )" RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" @@ -54,6 +54,10 @@ src_prepare() { epatch "${FILESDIR}"/elinks-0.11.5-makefile.patch epatch "${FILESDIR}"/elinks-0.12_pre5-compilation-fix.patch + if use javascript && has_version ">=dev-lang/spidermonkey-1.9"; then + epatch "${FILESDIR}"/elinks-0.12pre5-spidermonkey-callback.patch + fi + sed -i -e 's/-Werror//' configure* eautoreconf } |