ports/151042: [patch] java/openjdk6 Respect CC
Anonymous
swell.k at gmail.com
Sat Dec 25 10:00:28 UTC 2010
The following reply was made to PR ports/151042; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: rfarmer at predatorlabs.net
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/151042: [patch] java/openjdk6 Respect CC
Date: Sat, 25 Dec 2010 12:55:20 +0300
- sys.mk already provides default values for CC/CPP/CXX (cc/cpp/c++)
- but the port may not support using cpp(1) directly, so don't inherit CPP
- and using absolute paths breaks devel/ccache usage
--- a.diff begins here ---
Index: java/openjdk6/files/patch-set
===================================================================
RCS file: /a/.cvsup/ports/java/openjdk6/files/patch-set,v
retrieving revision 1.10
diff -u -p -r1.10 patch-set
--- java/openjdk6/files/patch-set 13 Dec 2010 08:59:52 -0000 1.10
+++ java/openjdk6/files/patch-set 25 Dec 2010 09:37:51 -0000
@@ -203,15 +203,13 @@
# OPT build MUST have a mapfile?
--- corba/make/common/shared/Compiler-gcc.gmk 2010-06-21 14:11:20.000000000 -0700
+++ corba/make/common/shared/Compiler-gcc.gmk 2010-06-20 21:56:15.000000000 -0700
-@@ -100,6 +100,24 @@
+@@ -100,6 +100,22 @@
endif
+ifeq ($(PLATFORM), bsd)
+ # Settings specific to BSD
-+ CC = $(COMPILER_PATH)gcc
-+ CPP = $(COMPILER_PATH)gcc -E
-+ CXX = $(COMPILER_PATH)g++
++ CPP = $(CC) -E
+ REQUIRED_CC_VER = 3.3
+ REQUIRED_GCC_VER = 3.3.*
+
@@ -6725,16 +6723,14 @@
--- jdk/make/common/shared/Compiler-gcc.gmk 2010-06-21 14:15:08.000000000 -0700
+++ jdk/make/common/shared/Compiler-gcc.gmk 2010-06-20 21:56:16.000000000 -0700
-@@ -99,6 +99,24 @@
+@@ -99,6 +99,22 @@
endif
+ifeq ($(PLATFORM), bsd)
+
+ # Settings specific to BSD
-+ CC = $(COMPILER_PATH)gcc
-+ CPP = $(COMPILER_PATH)gcc -E
-+ CXX = $(COMPILER_PATH)g++
++ CPP = $(CC) -E
+ REQUIRED_CC_VER = 3.2
+
+ # Option used to create a shared library
--- a.diff ends here ---
More information about the freebsd-java
mailing list