aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-09-27 23:23:29 +0800
committerglewis <glewis@FreeBSD.org>2005-09-27 23:23:29 +0800
commit7a395b55ebca65ff8786668be9a77f869a2c2192 (patch)
tree73ccc208fa3650250ee84792edc228b980384cfd /java
parentfc4a22b9b0b380eb355b7c62fa7ef124cf4917d7 (diff)
downloadfreebsd-ports-gnome-7a395b55ebca65ff8786668be9a77f869a2c2192.tar.gz
freebsd-ports-gnome-7a395b55ebca65ff8786668be9a77f869a2c2192.tar.zst
freebsd-ports-gnome-7a395b55ebca65ff8786668be9a77f869a2c2192.zip
. Include header files from the JDK that was just built, not from the
bootstrap JDK. This fixes using the Linux JDK to bootstrap when you are compiling javaws.
Diffstat (limited to 'java')
-rw-r--r--java/jdk15/files/patch-deploy::common::DeployRules-solaris.gmk17
-rw-r--r--java/jdk16/files/patch-deploy::common::DeployRules-solaris.gmk17
2 files changed, 34 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-deploy::common::DeployRules-solaris.gmk b/java/jdk15/files/patch-deploy::common::DeployRules-solaris.gmk
new file mode 100644
index 000000000000..5cb3c8224a76
--- /dev/null
+++ b/java/jdk15/files/patch-deploy::common::DeployRules-solaris.gmk
@@ -0,0 +1,17 @@
+$FreeBSD$
+
+--- ../../deploy/make/common/DeployRules-solaris.gmk.orig Mon Sep 26 17:20:33 2005
++++ ../../deploy/make/common/DeployRules-solaris.gmk Mon Sep 26 17:25:34 2005
+@@ -43,10 +43,10 @@
+ $(CP) $(DEPLOY_COMMON_SO_DBG) $(DEPLOY_OUTPUT_LIB_DBG)
+
+ $(DEPLOYOBJDIR)/%.o: $(DEPLOY_PLATFORM_SRC)/native/%.c
+- $(CXX) -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
++ $(CXX) -I$(OUTPUTDIR)/include -I$(OUTPUTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
+
+ $(DEPLOYOBJDIR_DBG)/%.o: $(DEPLOY_PLATFORM_SRC)/native/%.c
+- $(CXX) -g -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
++ $(CXX) -g -I$(OUTPUTDIR)/include -I$(OUTPUTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
+
+ deploy-so-mkdir:
+ $(MKDIR) -p $(DEPLOYOBJDIR) $(DEPLOYOBJDIR_DBG) $(COMMON_LIB_DIR) $(COMMON_LIB_DIR_DBG)
diff --git a/java/jdk16/files/patch-deploy::common::DeployRules-solaris.gmk b/java/jdk16/files/patch-deploy::common::DeployRules-solaris.gmk
new file mode 100644
index 000000000000..5cb3c8224a76
--- /dev/null
+++ b/java/jdk16/files/patch-deploy::common::DeployRules-solaris.gmk
@@ -0,0 +1,17 @@
+$FreeBSD$
+
+--- ../../deploy/make/common/DeployRules-solaris.gmk.orig Mon Sep 26 17:20:33 2005
++++ ../../deploy/make/common/DeployRules-solaris.gmk Mon Sep 26 17:25:34 2005
+@@ -43,10 +43,10 @@
+ $(CP) $(DEPLOY_COMMON_SO_DBG) $(DEPLOY_OUTPUT_LIB_DBG)
+
+ $(DEPLOYOBJDIR)/%.o: $(DEPLOY_PLATFORM_SRC)/native/%.c
+- $(CXX) -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
++ $(CXX) -I$(OUTPUTDIR)/include -I$(OUTPUTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
+
+ $(DEPLOYOBJDIR_DBG)/%.o: $(DEPLOY_PLATFORM_SRC)/native/%.c
+- $(CXX) -g -I$(BOOTDIR)/include -I$(BOOTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
++ $(CXX) -g -I$(OUTPUTDIR)/include -I$(OUTPUTDIR)/include/$(TRUE_PLATFORM_INCLUDE) -c $? -o $@
+
+ deploy-so-mkdir:
+ $(MKDIR) -p $(DEPLOYOBJDIR) $(DEPLOYOBJDIR_DBG) $(COMMON_LIB_DIR) $(COMMON_LIB_DIR_DBG)