summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-05-06 00:38:40 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-05-06 00:38:40 +0000
commit7c1c75a226f87de23c1cdd071cfb66ef972c3876 (patch)
tree565c49730a46cde967e486295982eed52a480baf /dev-lang/scala
parentInitial import of stand-alone python-updater. (diff)
downloadgentoo-2-7c1c75a226f87de23c1cdd071cfb66ef972c3876.tar.gz
gentoo-2-7c1c75a226f87de23c1cdd071cfb66ef972c3876.tar.bz2
gentoo-2-7c1c75a226f87de23c1cdd071cfb66ef972c3876.zip
Added ~amd64 to keywords for #147599
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-lang/scala')
-rw-r--r--dev-lang/scala/ChangeLog5
-rw-r--r--dev-lang/scala/scala-2.4.0.ebuild17
2 files changed, 17 insertions, 5 deletions
diff --git a/dev-lang/scala/ChangeLog b/dev-lang/scala/ChangeLog
index 56b88bb9a204..3d836c2045be 100644
--- a/dev-lang/scala/ChangeLog
+++ b/dev-lang/scala/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/scala
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/ChangeLog,v 1.1 2007/05/04 17:22:19 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/ChangeLog,v 1.2 2007/05/06 00:38:40 ali_bush Exp $
+
+ 06 May 2007; Alistair John Bush <ali_bush@gentoo.org> scala-2.4.0.ebuild:
+ Added ~amd64 for bug 147599
*scala-2.4.0 (04 May 2007)
diff --git a/dev-lang/scala/scala-2.4.0.ebuild b/dev-lang/scala/scala-2.4.0.ebuild
index 4b5b704015ea..0dddbc380cd6 100644
--- a/dev-lang/scala/scala-2.4.0.ebuild
+++ b/dev-lang/scala/scala-2.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/scala-2.4.0.ebuild,v 1.1 2007/05/04 17:22:19 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/scala-2.4.0.ebuild,v 1.2 2007/05/06 00:38:40 ali_bush Exp $
JAVA_PKG_IUSE="doc examples source"
WANT_ANT_TASKS="ant-nodeps"
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.scala-lang.org/"
SRC_URI="http://www.scala-lang.org/downloads/distrib/files/${MY_P}-sources.tgz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.5
dev-java/ant-contrib"
@@ -25,7 +25,12 @@ pkg_setup() {
java-pkg-2_pkg_setup
debug-print "Checking for sufficient physical RAM"
- CHECKREQS_MEMORY="512"
+
+ if use amd64; then
+ CHECKREQS_MEMORY="1024"
+ else
+ CHECKREQS_MEMORY="512"
+ fi
check_reqs
}
@@ -44,7 +49,11 @@ src_unpack() {
}
src_compile() {
- export ANT_OPTS="-Xmx512M -Xms512M"
+ if use amd64; then
+ export ANT_OPTS="-Xmx1024M -Xms1024M"
+ else
+ export ANT_OPTS="-Xmx512M -Xms512M"
+ fi
local target
if [[ "$(get_version_component_range 3)" == "0" ]];
then