diff options
-rw-r--r-- | audio/extace/Makefile | 8 |
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> |