Date: Tue, 30 Sep 2003 21:22:12 +0200 (CEST) From: Christian Laursen <xi@borderworlds.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: java/57420: linux-sun-jdk 1.4.2 is not detected when building java ports Message-ID: <200309301922.h8UJMC9b047648@vulcan.borderworlds.dk> Resent-Message-ID: <200309301930.h8UJUIlb045978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57420 >Category: java >Synopsis: linux-sun-jdk 1.4.2 is not detected when building java ports >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 30 12:30:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Christian Laursen >Release: FreeBSD 5.1-RELEASE-p8 i386 >Organization: The Border Worlds >Environment: System: FreeBSD vulcan.borderworlds.dk 5.1-RELEASE-p8 FreeBSD 5.1-RELEASE-p8 #13: Thu Sep 25 22:16:40 CEST 2003 root@vulcan.borderworlds.dk:/usr/obj/usr/src/sys/VULCAN i386 >Description: When linux-sun-jdk-1.4.2.01_1 is installed and I try to build a port that depends on java, it is not detected and the ports system tries to build a jdk 1.2 instead. >How-To-Repeat: Have linux-sun-jdk-1.4.2.01_1 installed and try to build a java port e.g. devel/apache-ant. >Fix: The below change fixes it for me, but I'm not sure that it is the most elegant way to solve the problem. --- java.diff begins here --- --- ports/Mk/bsd.java.mk.orig Tue Sep 30 21:15:09 2003 +++ ports/Mk/bsd.java.mk Tue Sep 30 21:15:24 2003 @@ -56,7 +56,7 @@ _JAVA_HOME_IBM_LINUX_1_4= ${LOCALBASE}/linux-ibm-jdk1.4.1 _JAVA_HOME_SUN_LINUX_1_2= ${LOCALBASE}/linux-sun-jdk1.2.2 _JAVA_HOME_SUN_LINUX_1_3= ${LOCALBASE}/linux-sun-jdk1.3.1 -_JAVA_HOME_SUN_LINUX_1_4= ${LOCALBASE}/linux-sun-jdk1.4.2 +_JAVA_HOME_SUN_LINUX_1_4= ${LOCALBASE}/linux-sun-jdk1.4.2_01 # Set the JDK ports for all recognized JDK's _JAVA_PORT_FREEBSD_1_1= java/jdk11 --- java.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309301922.h8UJMC9b047648>