From owner-svn-ports-all@FreeBSD.ORG Mon Mar 24 18:09:24 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 4768D3F1; Mon, 24 Mar 2014 18:09:24 +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 3507A79A; Mon, 24 Mar 2014 18:09:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OI9OJY020692; Mon, 24 Mar 2014 18:09:24 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2OI9Op3020691; Mon, 24 Mar 2014 18:09:24 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201403241809.s2OI9Op3020691@svn.freebsd.org> From: Pawel Pekala Date: Mon, 24 Mar 2014 18:09:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349043 - head/audio/amp 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: Mon, 24 Mar 2014 18:09:24 -0000 Author: pawel Date: Mon Mar 24 18:09:23 2014 New Revision: 349043 URL: http://svnweb.freebsd.org/changeset/ports/349043 QAT: https://qat.redports.org/buildarchive/r349043/ Log: Fix build with clang by respecting CC, CFLAGS Modified: head/audio/amp/Makefile Modified: head/audio/amp/Makefile ============================================================================== --- head/audio/amp/Makefile Mon Mar 24 18:04:07 2014 (r349042) +++ head/audio/amp/Makefile Mon Mar 24 18:09:23 2014 (r349043) @@ -16,6 +16,10 @@ USES= gmake PLIST_FILES= bin/amp \ man/man1/amp.1.gz +post-configure: + @${REINPLACE_CMD} -e 's|-O6 -ffast-math -fomit-frame-pointer|${CFLAGS}|' \ + -e 's|gcc|${CC}|' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/amp ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/amp.1 ${STAGEDIR}${PREFIX}/man/man1