svn commit: r349043 - head/audio/amp
Pawel Pekala
pawel at FreeBSD.org
Mon Mar 24 18:09:24 UTC 2014
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
More information about the svn-ports-all
mailing list