Bug 103227 - java/jdk15 does not allow use of diablo to build on amd64
Summary: java/jdk15 does not allow use of diablo to build on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 15:50 UTC by Pat Lashley
Modified: 2006-09-13 17:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Lashley 2006-09-13 15:50:17 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-09-13 15:50:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glewis

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-09-13 17:44:43 UTC
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"
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2006-09-13 17:45:05 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!