From f0319d4292daf6f45aff2697d11db25b6f892dbc Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Mon, 28 Jul 2014 13:41:55 +0000 Subject: [PATCH] - Try to fix the build by patching Makefiles better - While at it, add USES=desktop-file-utils - Bump PORTREVISION --- audio/tuxguitar/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/audio/tuxguitar/Makefile b/audio/tuxguitar/Makefile index f59dfd7a7e96..128010608df8 100644 --- a/audio/tuxguitar/Makefile +++ b/audio/tuxguitar/Makefile @@ -3,7 +3,7 @@ PORTNAME= tuxguitar PORTVERSION= 1.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio java MASTER_SITES= SF/${PORTNAME}/TuxGuitar/TuxGuitar-${PORTVERSION}:src \ ${MASTER_SITE_LOCAL}/gahr/:fluid \ @@ -28,7 +28,7 @@ LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth \ MAKE_ENV+= PREFIX=${PREFIX} INSTALL_DOC_DIR=${DOCSDIR} \ INSTALL_SHARE_DIR=${DATADIR} -USES= gmake pkgconfig +USES= desktop-file-utils gmake pkgconfig USE_JAVA= yes USE_ANT= yes WITH_GECKO= libxul @@ -61,6 +61,8 @@ post-patch: ${FIND} ${WRKSRC}/.. -name GNUmakefile | ${XARGS} ${REINPLACE_CMD} -e '\ s|-I$$(shell gcj -print-file-name=include/)|-I${JAVA_HOME}/include \ -I${JAVA_HOME}/include/freebsd -I${LOCALBASE}/include|; \ + s|-I $$(shell $$(GCJ) -print-file-name=include/)|-I${JAVA_HOME}/include \ + -I${JAVA_HOME}/include/freebsd -I${LOCALBASE}/include|; \ s|LDFLAGS\?=.*|LDFLAGS+=-L${LOCALBASE}/lib|; \ s|CFLAGS\?=|CFLAGS+=|' ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; \