Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 07:21:02 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370276 - head/japanese/mozc-server
Message-ID:  <201410070721.s977L2bl008204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410070721.s977L2bl008204>