diff options
author | glewis <glewis@FreeBSD.org> | 2007-06-06 23:54:28 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2007-06-06 23:54:28 +0800 |
commit | fdb3e88533cf4bd3f8ea8360123c8ed7d1526fe5 (patch) | |
tree | 0f2e4031f622ff8b734f7cc71b1788d63ff6e857 /java | |
parent | 0fc380439689d4211019655ac38180250f72d26f (diff) | |
download | freebsd-ports-gnome-fdb3e88533cf4bd3f8ea8360123c8ed7d1526fe5.tar.gz freebsd-ports-gnome-fdb3e88533cf4bd3f8ea8360123c8ed7d1526fe5.tar.zst freebsd-ports-gnome-fdb3e88533cf4bd3f8ea8360123c8ed7d1526fe5.zip |
. More respect for ${CC}, ${CXX} and ${CPP}.
Submitted by: truckman@
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk14/files/patch-common::Defs-bsd.gmk | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/java/jdk14/files/patch-common::Defs-bsd.gmk b/java/jdk14/files/patch-common::Defs-bsd.gmk index fc86ed9b68a5..62700f5e915d 100644 --- a/java/jdk14/files/patch-common::Defs-bsd.gmk +++ b/java/jdk14/files/patch-common::Defs-bsd.gmk @@ -1,7 +1,26 @@ $FreeBSD$ - ---- ../../j2se/make/common/Defs-bsd.gmk.orig Fri Dec 8 11:50:23 2006 -+++ ../../j2se/make/common/Defs-bsd.gmk Fri Dec 8 11:58:29 2006 +--- ../../j2se/make/common/Defs-bsd.gmk.orig Sun Jun 3 10:46:29 2007 ++++ ../../j2se/make/common/Defs-bsd.gmk Sun Jun 3 11:04:08 2007 +@@ -40,15 +40,15 @@ + BASENAME = $(USRBIN_PATH)basename + CAT = $(UNIXCOMMAND_PATH)cat + ifneq ($(TRUE_PLATFORM), OpenBSD) +-CC = $(COMPILER_PATH)gcc +-CPP = $(COMPILER_PATH)gcc -E ++CC ?= $(COMPILER_PATH)gcc ++CPP ?= $(COMPILER_PATH)gcc -E + ifeq ($(STATIC_CXX),true) + # g++ always dynamically links libstdc++, even we use "-Wl,-Bstatic -lstdc++" + # We need to use gcc to statically link the C++ runtime. gcc and g++ use + # the same subprocess to compile C++ files, so it is OK to build using gcc. +-CXX = $(COMPILER_PATH)gcc ++CXX ?= $(COMPILER_PATH)gcc + else +-CXX = $(COMPILER_PATH)g++ ++CXX ?= $(COMPILER_PATH)g++ + endif + else + # Allow ports/pkgsrc infrastructure to override CC, CPP and CXX. @@ -192,7 +192,7 @@ ifeq ($(TRUE_PLATFORM), NetBSD) DEVTOOLS_PATH = /usr/pkg/bin/ |