summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/scala/ChangeLog5
-rw-r--r--dev-lang/scala/scala-2.7.3.ebuild10
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-lang/scala/ChangeLog b/dev-lang/scala/ChangeLog
index da1c4bd117fc..f8ed9aebc517 100644
--- a/dev-lang/scala/ChangeLog
+++ b/dev-lang/scala/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/scala
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/ChangeLog,v 1.10 2009/01/18 04:16:30 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/ChangeLog,v 1.11 2009/02/05 08:13:53 ali_bush Exp $
+
+ 05 Feb 2009; Alistair Bush <ali_bush@gentoo.org> scala-2.7.3.ebuild:
+ Fixed #257581.
*scala-2.7.3 (18 Jan 2009)
diff --git a/dev-lang/scala/scala-2.7.3.ebuild b/dev-lang/scala/scala-2.7.3.ebuild
index 3024247df53e..58c1039a950d 100644
--- a/dev-lang/scala/scala-2.7.3.ebuild
+++ b/dev-lang/scala/scala-2.7.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/scala-2.7.3.ebuild,v 1.1 2009/01/18 04:16:30 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala/scala-2.7.3.ebuild,v 1.2 2009/02/05 08:13:53 ali_bush Exp $
JAVA_PKG_IUSE="doc examples source"
WANT_ANT_TASKS="ant-nodeps"
@@ -11,6 +11,7 @@ MY_P="${P}.final-sources"
# creating the binary:
# JAVA_PKG_FORCE_VM="$available-1.5" USE="doc examples source" ebuild scala-*.ebuild compile
# cd $WORDKIR
+# fix dist/latest link.
# tar -cjf $DISTDIR/scala-$PN-gentoo-binary.tar.bz2 ${MY_P}/dists ${MY_P}/docs/TODO
DESCRIPTION="The Scala Programming Language"
@@ -95,7 +96,12 @@ scala_launcher() {
}
src_install() {
- cd dists/latest || die
+ if use binary ; then
+ cd dists/scala-2.7.3.r0-b20090118133557 || die
+ else
+ cd dists/latest || die
+ fi
+
local SCALADIR="/usr/share/${PN}/"
#sources are .scala so no use for java-pkg_dosrc