summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-02-05 08:13:53 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-02-05 08:13:53 +0000
commit09b5762707db0002db0decb9be7fe51cfd3838a6 (patch)
tree80859ea183b7eb8f3ab0023e1e48cc5191d3878b /dev-lang/scala
parentFix desc, bug #257703 (diff)
downloadgentoo-2-09b5762707db0002db0decb9be7fe51cfd3838a6.tar.gz
gentoo-2-09b5762707db0002db0decb9be7fe51cfd3838a6.tar.bz2
gentoo-2-09b5762707db0002db0decb9be7fe51cfd3838a6.zip
Fixed #257581
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/scala')
-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