Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 09:47:31 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367182 - head/audio/extace
Message-ID:  <201409030947.s839lVwD028120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409030947.s839lVwD028120>