ports/103227: java/jdk15 does not allow use of diablo to build on amd64

Pat Lashley patl+freebsd at volant.org
Wed Sep 13 14:50:25 UTC 2006


>Number:         103227
>Category:       ports
>Synopsis:       java/jdk15 does not allow use of diablo to build on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 13 14:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pat Lashley
>Release:        
>Organization:
Applied Plasmonics
>Environment:
FreeBSD ix.appliedplasmonics.com 6.1-STABLE FreeBSD 6.1-STABLE #2: Fri Sep  8 17:34:51 EDT 2006    root at appliedplasmonics.com:/usr/obj/usr/src/sys/IX  amd64
>Description:
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.
>How-To-Repeat:
On an amd64 system with no JDK/JRE installed:  cd /usr/ports/java/jdk ; make
>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 \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list