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. Fix: The below change fixes it for me, but I'm not sure that it is the most elegant way to solve the problem. 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.
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 ---
State Changed From-To: open->closed Herve is right. I've just committed a fix.