pkgsrc/lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_defs.make
marino 47f61e7ac2 lang/openjdk7: Add support for DragonFly x86_64
* Update bootstrap for i386-DragonFly
* Add bootstrap for x86_64-DragonFly
* Update patch-aa to handle missing EM_ALPHA definition (not used anyway)
* Add patch for hotspot to handle x86_64 in uname
* Update Makefile for parallel building of hotspot
* Allow platform DragonFly 3.x

Thanks for all the hard work building the bootstraps and testing:
Francois Tigeot
Chris Turner
2012-05-12 21:01:47 +00:00

15 lines
463 B
Makefile

$NetBSD: patch-hotspot_make_bsd_makefiles_defs.make,v 1.1 2012/05/12 21:01:47 marino Exp $
--- hotspot/make/bsd/makefiles/defs.make.orig 2012-05-12 16:55:32.316262000 +0000
+++ hotspot/make/bsd/makefiles/defs.make
@@ -30,6 +30,10 @@ SLASH_JAVA ?= /java
# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
ARCH:=$(shell uname -m)
+ifeq ($(ARCH),x86_64)
+ ARCH=amd64
+endif
+
PATH_SEP = :
ifeq ($(LP64), 1)
ARCH_DATA_MODEL ?= 64