diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-25 02:09:23 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-25 02:09:23 +0800 |
commit | 3fc6537f3a1cd48af5338c71fe28d6daea5bde87 (patch) | |
tree | 82db09521b91fb522efb80c34e24e1b0d0e2b84f /audio/amp | |
parent | c01c817eecbdf41e5bf1f9c67cdeefe5c98d7c7b (diff) | |
download | freebsd-ports-gnome-3fc6537f3a1cd48af5338c71fe28d6daea5bde87.tar.gz freebsd-ports-gnome-3fc6537f3a1cd48af5338c71fe28d6daea5bde87.tar.zst freebsd-ports-gnome-3fc6537f3a1cd48af5338c71fe28d6daea5bde87.zip |
Fix build with clang by respecting CC, CFLAGS
Diffstat (limited to 'audio/amp')
-rw-r--r-- | audio/amp/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/amp/Makefile b/audio/amp/Makefile index 22575d7609ce..bab3128377ad 100644 --- a/audio/amp/Makefile +++ b/audio/amp/Makefile @@ -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 |