wok-current diff icedtea6-jdk/receipt @ rev 8167

imported patch commit_inprogress/rp-pppoe.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents 501d89e34aae
children 9fc32aa2b184
line diff
     1.1 --- a/icedtea6-jdk/receipt	Thu Oct 21 03:32:00 2010 +0000
     1.2 +++ b/icedtea6-jdk/receipt	Thu Jan 27 00:20:49 2011 +0100
     1.3 @@ -43,9 +43,6 @@
     1.4  	local ECJ_VERSION
     1.5  	ECJ_VERSION="3.6"
     1.6  
     1.7 -	export ALT_PARALLEL_COMPILE_JOBS="4"
     1.8 -	export HOTSPOT_BUILD_JOBS="${ALT_PARALLEL_COMPILE_JOBS}"
     1.9 -
    1.10  	cd $src
    1.11  	mkdir drops
    1.12  	sed -i -e 's/mkdir -p drops/true/' -e 's/ jar xf/ fastjar xf/'  Makefile*
    1.13 @@ -91,7 +88,6 @@
    1.14  	autoreconf &&
    1.15  	./configure \
    1.16  		--prefix=/usr \
    1.17 -		--with-parallel-jobs=${HOTSPOT_BUILD_JOBS} \
    1.18  		--disable-plugin \
    1.19  		--disable-docs \
    1.20  		--with-ecj \
    1.21 @@ -104,14 +100,15 @@
    1.22  		--with-rhino=/usr/share/java/js.jar \
    1.23  		--with-abs-install-dir=$JVM_PREFIX \
    1.24  		$CONFIGURE_ARGS &&
    1.25 -	make ARCH_PREFIX=  || exit 1
    1.26 +	make -j 1 ARCH_PREFIX=  || exit 1
    1.27  
    1.28 +	# NOTE: don't build with -j 4. Only build with -j 1 or tank will crash
    1.29  	# NOTE: IcedTea6 does not define an "install" target
    1.30  	
    1.31  	rm -r -f $src/_pkg
    1.32  
    1.33  	local JVM_BUILDDIR
    1.34 -	JVM_BUILDDIR=$src/openjdk/build/linux-i586/j2sdk-image
    1.35 +	JVM_BUILDDIR=$src/openjdk.build/j2sdk-image
    1.36  	local JVM_DESTDIR
    1.37  	JVM_DESTDIR=$src/_pkg$JVM_PREFIX
    1.38