summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/weka/ChangeLog5
-rw-r--r--dev-util/weka/weka-3.5.7.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog
index 6565b67c509e..25684b3945d5 100644
--- a/dev-util/weka/ChangeLog
+++ b/dev-util/weka/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/weka
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.27 2008/05/09 20:43:17 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.28 2008/07/01 19:54:16 betelgeuse Exp $
+
+ 01 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> weka-3.5.7.ebuild:
+ Increase memory on amd64 to 256 from 128.
09 May 2008; Christian Faulhammer <opfer@gentoo.org> weka-3.5.7.ebuild:
stable x86, bug 219670
diff --git a/dev-util/weka/weka-3.5.7.ebuild b/dev-util/weka/weka-3.5.7.ebuild
index 256da096fb74..180713fd6beb 100644
--- a/dev-util/weka/weka-3.5.7.ebuild
+++ b/dev-util/weka/weka-3.5.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.5.7.ebuild,v 1.3 2008/05/09 20:43:17 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.5.7.ebuild,v 1.4 2008/07/01 19:54:16 betelgeuse Exp $
JAVA_PKG_IUSE="doc source"
@@ -34,7 +34,9 @@ src_compile() {
echo "Compiling sources"
# We need to set the maximum heap size to 128m to avoid
# OutOfMemoryErrors
- find src/ -name "*.java" | xargs javac -J-Xmx128m -d build \
+ local mem=128
+ use amd64 && mem=256
+ find src/ -name "*.java" | xargs javac -J-Xmx${mem}m -d build \
$(java-pkg_javac-args) -sourcepath src/ -nowarn \
|| die "Failed to compile sources"
@@ -54,7 +56,7 @@ src_compile() {
mkdir -p dist/doc
echo "Generating javadocs"
find src/ -name "*.java" | xargs javadoc -d dist/doc/ \
- -J-Xmx128m -quiet || die "Failed to generate javadoc"
+ -J-Xmx${mem}m -quiet || die "Failed to generate javadoc"
fi
}