aboutsummaryrefslogtreecommitdiff
path: root/audio/extace
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-03 09:47:31 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-03 09:47:31 +0000
commit4b8efac05627a977b67f5c2502b6a6b488e703e9 (patch)
tree00c58c6b2c03764bf64dd790d4a53c116f6473b3 /audio/extace
parentda984f2390b0a2a465ea3c6e2647c7a1f9b2cc0e (diff)
downloadports-4b8efac05627a977b67f5c2502b6a6b488e703e9.tar.gz
ports-4b8efac05627a977b67f5c2502b6a6b488e703e9.zip
Notes
Diffstat (limited to 'audio/extace')
-rw-r--r--audio/extace/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/extace/Makefile b/audio/extace/Makefile
index 6e55a48ce2c7..e59d0e03940c 100644
--- a/audio/extace/Makefile
+++ b/audio/extace/Makefile
@@ -12,17 +12,17 @@ COMMENT= Audio visualization plugin for the X Window System
LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
-USES= pathfix pkgconfig
+USES= libtool pathfix pkgconfig
USE_GNOME= esound gnomehier gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib -lm
PLIST_FILES= bin/extace \
share/gnome/apps/Multimedia/extace.desktop
post-patch:
- @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|^LIBS =|#LIBS =|g' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} '/^CFLAGS="-O2/d' ${WRKSRC}/configure
+ @${REINPLACE_CMD} '/^LIBS =/s/$$/ @LIBS@/' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>