aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-10-15 01:45:14 +0800
committerjkim <jkim@FreeBSD.org>2013-10-15 01:45:14 +0800
commit95a635c5f9dab066cecc16d115c32dc7f1f41b58 (patch)
treefe14ccba035e324c64bf8b98827f79b984c8231d /java
parent564134fa05c3bbda8c56f6ebf30af06e0b8c9ce9 (diff)
downloadfreebsd-ports-gnome-95a635c5f9dab066cecc16d115c32dc7f1f41b58.tar.gz
freebsd-ports-gnome-95a635c5f9dab066cecc16d115c32dc7f1f41b58.tar.zst
freebsd-ports-gnome-95a635c5f9dab066cecc16d115c32dc7f1f41b58.zip
Simplify compiler detection. COMPILER_TYPE must be defined since r330336.
Diffstat (limited to 'java')
-rw-r--r--java/openjdk6/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/openjdk6/Makefile b/java/openjdk6/Makefile
index f5809ab2f9a0..bb85885e99e3 100644
--- a/java/openjdk6/Makefile
+++ b/java/openjdk6/Makefile
@@ -190,7 +190,7 @@ ICONV_INCLUDE= -I${LOCALBASE}/include
ICONV_LIBS= -L${LOCALBASE}/lib ${ICONV_LIB}
.endif
-.if defined(COMPILER_TYPE) && ${COMPILER_TYPE} == "clang"
+.if ${COMPILER_TYPE} == "clang"
MAKE_ENV+= COMPILER_WARNINGS_FATAL=false
.if empty(PORT_OPTIONS:MDEBUG) && empty(PORT_OPTIONS:MFASTDEBUG)
MAKE_ENV+= WARNINGS_ARE_ERRORS=-w