svn commit: r370276 - head/japanese/mozc-server
Hiroki Sato
hrs at FreeBSD.org
Tue Oct 7 07:21:03 UTC 2014
Author: hrs
Date: Tue Oct 7 07:21:02 2014
New Revision: 370276
URL: https://svnweb.freebsd.org/changeset/ports/370276
QAT: https://qat.redports.org/buildarchive/r370276/
Log:
Fix build on 10.0.
Modified:
head/japanese/mozc-server/Makefile
Modified: head/japanese/mozc-server/Makefile
==============================================================================
--- head/japanese/mozc-server/Makefile Tue Oct 7 07:18:46 2014 (r370275)
+++ head/japanese/mozc-server/Makefile Tue Oct 7 07:21:02 2014 (r370276)
@@ -49,19 +49,12 @@ USE_GNOME= glib20 gtk20
USE_EMACS= yes
.endif
-# Do not use Clang 3.3 or prior because of some C++11 library issues.
-.if exists(/usr/bin/clang)
-_CLANGVER!= /usr/bin/clang --version 2>&1 || true
-.if !defined(_CLANGVER) || \
- empty(_CLANGVER:M[0-9].[0-9]*:C/([0-9]).([0-9]).*/\1\2/g:M[0-9]*) || \
- ${_CLANGVER:M[0-9].[0-9]*:C/([0-9]).([0-9]).*/\1\2/g} < 34
-USE_GCC= yes
-_CCTYPE= gcc
-.else
+# Use GCC only when the stock clang does not have libc++.so.
+.if exists(/usr/bin/clang) && exists(/usr/lib/libc++.so)
_CCTYPE= clang
-.endif
.else
-_CCTYPE= ${CHOSEN_COMPILER_TYPE}
+USE_GCC= yes
+_CCTYPE= gcc
.endif
.include <bsd.port.pre.mk>
More information about the svn-ports-all
mailing list