Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 16:30:36 -0800 (PST)
From:      Jeffrey Hsu <hsu>
To:        freebsd-java@FreeBSD.ORG
Subject:   Re: Diffs for 1.1.2 (fwd)
Message-ID:  <199712190030.QAA06121@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
  > I'm not home anymore, so I don't have my notes handy, but I think you'll 
  > have to do the following:
  > 
  > mv javasrc/build/solaris javasrc/build/freebsd
  > mv javasrc/src/solaris javasrc/src/freebsd
  > rm -rf javasrc/build/win32
  > rm -rf javasrc/src/win32
  > rm -rf javasrc/src/ODBC

May I suggest you do instead

  ln -s javasrc/build/solaris javasrc/build/FreeBSD
  ln -s javasrc/src/solaris javasrc/src/FreeBSD

  change the PLATFORM = solaris lines in the GNUmakefiles to PLATFORM = $(shell uname -s)
  ln -s javasrc/src/solaris javasrc/src/SunOS
  ln -s javasrc/build/solaris javasrc/build/SunOS

  patch uname -p to return i386

This has the advantage that you use the same subtree for Solaris and FreeBSD
so you only have to import JDK upgrades in one place and the same tree compiles
under both Solaris and FreeBSD.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712190030.QAA06121>