From owner-svn-ports-all@FreeBSD.ORG Tue Feb 11 23:01:44 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 604F6734; Tue, 11 Feb 2014 23:01:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 49F681C8F; Tue, 11 Feb 2014 23:01:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1BN1iWx054372; Tue, 11 Feb 2014 23:01:44 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1BN1ic4054371; Tue, 11 Feb 2014 23:01:44 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201402112301.s1BN1ic4054371@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 11 Feb 2014 23:01:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343831 - head/multimedia/libtheora/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 23:01:44 -0000 Author: bapt Date: Tue Feb 11 23:01:43 2014 New Revision: 343831 URL: http://svnweb.freebsd.org/changeset/ports/343831 QAT: https://qat.redports.org/buildarchive/r343831/ Log: Fix configure with clang3.4 Submitted by: dim Added: head/multimedia/libtheora/files/patch-configure (contents, props changed) Added: head/multimedia/libtheora/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libtheora/files/patch-configure Tue Feb 11 23:01:43 2014 (r343831) @@ -0,0 +1,15 @@ +--- configure.orig 2014-02-11 10:04:07.000000000 +0100 ++++ configure 2014-02-11 21:06:31.000000000 +0100 +@@ -11863,7 +11863,11 @@ + case $host in + *) + DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES" +- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" ++ if $CC -v 2>&1 | grep clang > /dev/null; then ++ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops" ++ else ++ CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" ++ fi + PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";; + esac + fi