summaryrefslogtreecommitdiffstats
path: root/java/jdk13
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-08-10 20:28:44 +0000
committerglewis <glewis@FreeBSD.org>2004-08-10 20:28:44 +0000
commite35f8fe8d46986e4579fe58025ef753101455f9f (patch)
tree067eef81c352b0a7e941642878ee1701b31a1ba9 /java/jdk13
parent027fd828497ef547e59cfda39c0751b6c07cc1c2 (diff)
downloadFreeBSD-ports-e35f8fe8d46986e4579fe58025ef753101455f9f.zip
FreeBSD-ports-e35f8fe8d46986e4579fe58025ef753101455f9f.tar.gz
. Set CC, CXX and CPP conditionally so that this port will respect them
if set in the port build. Note that the HotSpot build will likely require additional changes for it to also respect these variables.
Diffstat (limited to 'java/jdk13')
-rw-r--r--java/jdk13/files/patch-common::Defs-bsd.gmk18
1 files changed, 16 insertions, 2 deletions
diff --git a/java/jdk13/files/patch-common::Defs-bsd.gmk b/java/jdk13/files/patch-common::Defs-bsd.gmk
index 9ce2386..67e497d 100644
--- a/java/jdk13/files/patch-common::Defs-bsd.gmk
+++ b/java/jdk13/files/patch-common::Defs-bsd.gmk
@@ -2,7 +2,21 @@ $FreeBSD$
--- common/Defs-bsd.gmk.orig Thu Dec 18 22:33:22 2003
+++ common/Defs-bsd.gmk Thu Dec 18 22:36:46 2003
-@@ -131,7 +131,7 @@
+@@ -32,9 +32,10 @@
+ AR = $(USRBIN_PATH)ar
+ AS = $(USRBIN_PATH)as
+ CAT = $(UNIXCOMMAND_PATH)cat
+-CC = $(COMPILER_PATH)gcc
+-CPP = $(COMPILER_PATH)gcc -E
+-CXX = $(COMPILER_PATH)g++
++# Allow ports/pkgsrc infrastructure to override CC, CPP and CXX.
++CC ?= $(COMPILER_PATH)gcc
++CPP ?= $(COMPILER_PATH)gcc -E
++CXX ?= $(COMPILER_PATH)g++
+ CD = cd # intrinsic unix command
+ CHMOD = $(UNIXCOMMAND_PATH)chmod
+ CMP = $(USRBIN_PATH)cmp
+@@ -131,7 +132,7 @@
ifeq ($(TRUE_PLATFORM), NetBSD)
DEVTOOLS_PATH = /usr/pkg/bin/
else
@@ -11,7 +25,7 @@ $FreeBSD$
endif
# Allow the user to override the default value...
ifdef ALT_DEVTOOLS_PATH
-@@ -266,9 +266,9 @@
+@@ -266,9 +267,9 @@
CFLAGS_COMMON += -fsigned-char
CXXFLAGS_COMMON+= -fsigned-char
endif
OpenPOWER on IntegriCloud