From a0ae4dba2134754c0ea1450714c6d1eb7f2d6ea5 Mon Sep 17 00:00:00 2001 From: Stefan Jones Date: Sat, 9 Nov 2002 19:52:54 +0000 Subject: fixed up the PORTAGE_TMPDIR and low versions of jdk --- dev-java/sun-j2sdk/ChangeLog | 6 +++++- dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'dev-java/sun-j2sdk') diff --git a/dev-java/sun-j2sdk/ChangeLog b/dev-java/sun-j2sdk/ChangeLog index 5ff77ecf71b4..971e3318caed 100644 --- a/dev-java/sun-j2sdk/ChangeLog +++ b/dev-java/sun-j2sdk/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for dev-java/sun-jdk # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/ChangeLog,v 1.2 2002/11/07 22:53:26 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/ChangeLog,v 1.3 2002/11/09 19:52:54 cretin Exp $ *sun-j2sdk-1.4.0-r1 (07 Nov 2002) + 09 Nov 2002; Stefan A. Jones sun-j2sdk-1.4.0-r1.ebuild + + Fixed bugs #10489 and #10485 with luck + 07 Nov 2002; Stefan A. Jones sun-j2sdk-1.4.0-r1.ebuild This *should* work, please test and fix, and report abuse to me! diff --git a/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild b/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild index 67d8f7f4a752..8525d556a9f9 100644 --- a/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild +++ b/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # Maintainer: Stefan Jones # Author: Stefan Jones -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild,v 1.4 2002/11/08 20:13:23 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2sdk/sun-j2sdk-1.4.0-r1.ebuild,v 1.5 2002/11/09 19:52:54 cretin Exp $ # Based on http://tushar.lfsforum.org/javafromscratch.txt (LFS) # By Tushar Teredesai @@ -39,7 +39,7 @@ RDEPEND="virtual/glibc >=dev-java/java-config-0.1.3" DEPEND="${RDEPEND} app-arch/unzip - virtual/jdk + virtual/jdk-1.4 >=x11-libs/lesstif-0.93.36 !x11-libs/openmotif" @@ -49,8 +49,8 @@ PROVIDE="virtual/jre-1.4.0 pkg_setup() { #Check if we have enough space - if [ `df /var/tmp/portage/ | tail -n 1 | awk '{ print $4 }'` -le 2097152 ] ; then - eerror "You need about 2G of disk space to compile this at /var/tmp/portage," + if [ `df ${PORTAGE_TMPDIR} | tail -n 1 | awk '{ print $4 }'` -le 2097152 ] ; then + eerror "You need about 2G of disk space to compile this at ${PORTAGE_TMPDIR}," eerror "it seems you don't have that much, quiting, sorry!" die "Not enough disk space" fi -- cgit v1.2.3-65-gdbad