aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2007-10-05 02:20:42 +0800
committerjkim <jkim@FreeBSD.org>2007-10-05 02:20:42 +0800
commitcdd6980f6d5f7fbc7c20c88f6c2ad8450500e95f (patch)
tree8a1d830cfcc4fab0809067b255e5eb47396c766e /java
parent59ea30ce0d06183252ee239343521020c50bc9f8 (diff)
downloadfreebsd-ports-gnome-cdd6980f6d5f7fbc7c20c88f6c2ad8450500e95f.tar.gz
freebsd-ports-gnome-cdd6980f6d5f7fbc7c20c88f6c2ad8450500e95f.tar.zst
freebsd-ports-gnome-cdd6980f6d5f7fbc7c20c88f6c2ad8450500e95f.zip
Fix build on i386 with WITHOUT_WEB option.
PR: ports/116700 Reported by: Michiel Boland (michiel at boland dot org) Approved by: glewis (mentor)
Diffstat (limited to 'java')
-rw-r--r--java/jdk16/files/patch-control-make-install-rules.gmk15
-rw-r--r--java/jdk16/files/patch-install-make-common-Pack.gmk13
2 files changed, 28 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-control-make-install-rules.gmk b/java/jdk16/files/patch-control-make-install-rules.gmk
new file mode 100644
index 000000000000..69c5f5431ac9
--- /dev/null
+++ b/java/jdk16/files/patch-control-make-install-rules.gmk
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- ../../control/make/install-rules.gmk 21 Jul 2006 17:21:00 -0000 1.1.1.2
++++ ../../control/make/install-rules.gmk 6 Sep 2007 17:53:58 -0000 1.2
+@@ -32,6 +32,10 @@
+ ALT_NEW_IMAGE_DIR=$(ALT_NEW_IMAGE_DIR) \
+ ALT_BUNDLE_DATE=$(BUNDLE_DATE)
+
++ifeq ($(BUILD_DEPLOY), true)
++INSTALL_BUILD_ARGUMENTS += INSTALL_DEPLOY=true
++endif
++
+ ifeq ($(DEBUG_NAME), debug)
+ INSTALL_BUILD_ARGUMENTS += VARIANT=DBG
+ endif
diff --git a/java/jdk16/files/patch-install-make-common-Pack.gmk b/java/jdk16/files/patch-install-make-common-Pack.gmk
new file mode 100644
index 000000000000..87abed56a518
--- /dev/null
+++ b/java/jdk16/files/patch-install-make-common-Pack.gmk
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../install/make/common/Pack.gmk 27 Jun 2007 18:48:09 -0000 1.2
++++ ../../install/make/common/Pack.gmk 6 Sep 2007 17:53:58 -0000 1.4
+@@ -45,7 +45,7 @@
+ # These are loaded from the ClassPath
+ CP_JRE_PACKED_JARS = lib/ext/localedata.jar
+
+-ifeq ($(ARCH_DATA_MODEL),32)
++ifeq ($(INSTALL_DEPLOY), true)
+ CP_JRE_PACKED_JARS += lib/plugin.jar
+ CP_JRE_PACKED_JARS += lib/javaws.jar
+ CP_JRE_PACKED_JARS += lib/deploy.jar