Building a JDK requires bootstrapping with a previously installed version. If JDK or JRE is installed, the Makefile creates a dependency on a binary port. In the past, the only binary ports available were for linux; but now there are native 'diablo' ports for the i386 and amd64 architectures. The Makefile chooses the diablo port for i386; but not for amd64. Fix: .if !defined(WITH_LINUX_BOOTSTRAP) -.if ${MACHINE_ARCH} == "i386" +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/diablo-jdk1.5.0 .endif NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/jdk1.5.0 \ How-To-Repeat: On an amd64 system with no JDK/JRE installed: cd /usr/ports/java/jdk ; make
Responsible Changed From-To: freebsd-ports-bugs->glewis Over to maintainer
glewis 2006-09-13 16:44:39 UTC FreeBSD ports repository Modified files: java/jdk15 Makefile Log: . Diablo is no longer restricted to i386, so allow it to be a possible native bootstrap JDK on all (supported) architectures. This is a slightly different change than the submitters. PR: 103227 Submitted by: Pat Lashley <patl+freebsd@volant.org> Revision Changes Path 1.115 +2 -4 ports/java/jdk15/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!