Date: Sun, 2 Feb 2014 15:09:00 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342312 - head/x11-toolkits/open-motif/files Message-ID: <201402021509.s12F90Rn093034@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim (src committer) Date: Sun Feb 2 15:09:00 2014 New Revision: 342312 URL: http://svnweb.freebsd.org/changeset/ports/342312 QAT: https://qat.redports.org/buildarchive/r342312/ Log: For clang, stop adding -fno-tree-ter to CFLAGS, since it will cause an error message for clang 3.4 and later. Approved by: portmgr (bdrewery) Added: head/x11-toolkits/open-motif/files/patch-configure.ac (contents, props changed) Added: head/x11-toolkits/open-motif/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/open-motif/files/patch-configure.ac Sun Feb 2 15:09:00 2014 (r342312) @@ -0,0 +1,11 @@ +--- configure.ac.orig 2012-10-22 16:50:39.000000000 +0200 ++++ configure.ac 2014-01-27 22:38:58.000000000 +0100 +@@ -164,7 +164,7 @@ + if test x$GCC = xyes + then + CFLAGS="$CFLAGS -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment" +- if test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then ++ if ! $CC -v 2>&1 | grep clang > /dev/null && test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then + CFLAGS="$CFLAGS -fno-tree-ter" + fi + fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402021509.s12F90Rn093034>