- Add missing -lm

- Add USES=libtool
This commit is contained in:
Tijl Coosemans 2014-09-03 09:47:31 +00:00
parent da984f2390
commit 4b8efac056
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367182

View File

@ -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>