hotspot and j2se). The j2se patches are from the bsd java repositories 1.5 -> 1.6 (performed by Greg Lewis) -> 1.7 by myself. j2se patches are in sync with 1.6 patchset 1 plus the Runtime.exec fix from Michiel Boland via FreeBSD PR http://www.freebsd.org/cgi/query-pr.cgi?pr=115557. Also from FreeBSD: interactive JRL license verification. By default the port is IS_INTERACTIVE=Yes. Add ACCEPT_JRL_LICENSE=Yes to /etc/mk.conf to permanently accept the JRL license. At some point in the future I will work on switching this back to OpenJDK/GPLv2 src. That largely depends on Sun's progress at removing more of the binary plug bits so that stubbing out the remainder is less cumbersome and time consuming. Testing, comments and okay ian@
27 lines
678 B
Plaintext
27 lines
678 B
Plaintext
$OpenBSD: patch-hotspot_make_defs_make,v 1.2 2007/09/06 15:46:18 kurt Exp $
|
|
--- hotspot/make/defs.make.orig Thu Aug 30 04:57:10 2007
|
|
+++ hotspot/make/defs.make Sun Sep 2 14:06:01 2007
|
|
@@ -118,13 +118,20 @@ endif
|
|
# Windows should have OS predefined
|
|
ifeq ($(OS),)
|
|
OS := $(shell uname -s)
|
|
+ ifneq ($(findstring BSD,$(OS)),)
|
|
+ OS=bsd
|
|
+ endif
|
|
HOST := $(shell uname -n)
|
|
endif
|
|
|
|
-# If not SunOS and not Linux, assume Windows
|
|
+# If not SunOS, not Linux and not BSD, assume Windows
|
|
ifneq ($(OS), Linux)
|
|
ifneq ($(OS), SunOS)
|
|
- OSNAME=windows
|
|
+ ifneq ($(OS), bsd)
|
|
+ OSNAME=windows
|
|
+ else
|
|
+ OSNAME=bsd
|
|
+ endif
|
|
else
|
|
OSNAME=solaris
|
|
endif
|