svn commit: r330338 - head/java/openjdk6

Jung-uk Kim jkim at FreeBSD.org
Mon Oct 14 17:45:15 UTC 2013


Author: jkim
Date: Mon Oct 14 17:45:14 2013
New Revision: 330338
URL: http://svnweb.freebsd.org/changeset/ports/330338

Log:
  Simplify compiler detection.  COMPILER_TYPE must be defined since r330336.

Modified:
  head/java/openjdk6/Makefile

Modified: head/java/openjdk6/Makefile
==============================================================================
--- head/java/openjdk6/Makefile	Mon Oct 14 17:21:23 2013	(r330337)
+++ head/java/openjdk6/Makefile	Mon Oct 14 17:45:14 2013	(r330338)
@@ -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


More information about the svn-ports-all mailing list