[PATCH FOR REVIEW]: Unset JAVA_HOME and JDK_HOME prior to building OpenJDK

Andrew John Hughes gnu_andrew at member.fsf.org
Tue Aug 25 05:04:40 PDT 2009


This simple patch for IcedTea6 unsets JAVA_HOME and JDK_HOME before
starting an OpenJDK build.  If JAVA_HOME is set, an OpenJDK build will
fail.

Ok to commit?

ChangeLog:

2009-08-25  Andrew John Hughes  <ahughes at redhat.com>

        * Makefile.am:
        Unset JAVA_HOME and JDK_HOME before building.

-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
-------------- next part --------------
diff -r ea895e1bbf2d Makefile.am
--- a/Makefile.am	Fri Aug 21 16:24:12 2009 +0200
+++ b/Makefile.am	Tue Aug 25 12:27:49 2009 +0100
@@ -183,6 +183,8 @@
 	ALT_PARALLEL_COMPILE_JOBS="$(PARALLEL_JOBS)" \
 	HOTSPOT_BUILD_JOBS="$(PARALLEL_JOBS)" \
 	JAVAC="" \
+	JAVA_HOME="" \
+	JDK_HOME="" \
 	RHINO_JAR="$(RHINO_JAR)" \
 	DISTRIBUTION_ID="$(DIST_ID)"
 
@@ -264,6 +266,8 @@
 	ALT_PARALLEL_COMPILE_JOBS="$(PARALLEL_JOBS)" \
 	HOTSPOT_BUILD_JOBS="$(PARALLEL_JOBS)" \
 	JAVAC="" \
+	JAVA_HOME="" \
+	JDK_HOME="" \
 	RHINO_JAR="$(RHINO_JAR)" \
 	JAR_KNOWS_ATFILE="$(JAR_KNOWS_ATFILE)" \
 	JAR_KNOWS_J_OPTIONS="$(JAR_KNOWS_J_OPTIONS)" \


More information about the distro-pkg-dev mailing list