java/57420: linux-sun-jdk 1.4.2 is not detected when building
java ports
Herve Quiroz
herve.quiroz at esil.univ-mrs.fr
Tue Sep 30 13:30:20 PDT 2003
The following reply was made to PR java/57420; it has been noted by GNATS.
From: Herve Quiroz <herve.quiroz at esil.univ-mrs.fr>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc: Herve Quiroz <herve.quiroz at esil.univ-mrs.fr>, xi at borderworlds.dk
Subject: Re: java/57420: linux-sun-jdk 1.4.2 is not detected when building java ports
Date: Tue, 30 Sep 2003 22:13:15 +0200
On the other hand, maybe 'java/linux-sun-jdk14' should install in
${LOCALBASE}/linux-sun-jdk1.4.2 instead of
${LOCALBASE}/linux-sun-jdk1.4.2_01, as this is the case for all other
JDK ports, even those with a JDK revision number.
Herve
On Tue, Sep 30, 2003 at 09:22:12PM +0200, Christian Laursen wrote:
> >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 ---
More information about the freebsd-java
mailing list