svn commit: r367182 - head/audio/extace
Tijl Coosemans
tijl at FreeBSD.org
Wed Sep 3 09:47:32 UTC 2014
Author: tijl
Date: Wed Sep 3 09:47:31 2014
New Revision: 367182
URL: http://svnweb.freebsd.org/changeset/ports/367182
QAT: https://qat.redports.org/buildarchive/r367182/
Log:
- Add missing -lm
- Add USES=libtool
Modified:
head/audio/extace/Makefile
Modified: head/audio/extace/Makefile
==============================================================================
--- head/audio/extace/Makefile Wed Sep 3 09:43:59 2014 (r367181)
+++ head/audio/extace/Makefile Wed Sep 3 09:47:31 2014 (r367182)
@@ -12,17 +12,17 @@ COMMENT= Audio visualization plugin for
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>
More information about the svn-ports-head
mailing list