aboutsummaryrefslogtreecommitdiff
path: root/audio/tuxguitar
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-07-28 13:41:55 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-07-28 13:41:55 +0000
commitf0319d4292daf6f45aff2697d11db25b6f892dbc (patch)
treead37f6ac909c8aa676431bfa9b6cbd3ca9ea5c70 /audio/tuxguitar
parent1b2c16cde745fe43f7e4ba8c0b6ae7daa1dd4367 (diff)
downloadports-f0319d4292daf6f45aff2697d11db25b6f892dbc.tar.gz
ports-f0319d4292daf6f45aff2697d11db25b6f892dbc.zip
Notes
Diffstat (limited to 'audio/tuxguitar')
-rw-r--r--audio/tuxguitar/Makefile6
1 files 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; \