aboutsummaryrefslogtreecommitdiff
path: root/audio/tuxguitar/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2009-08-19 15:50:26 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2009-08-19 15:50:26 +0000
commit72ce090da09cce9a9ecd55cfcc55d200bba3309e (patch)
tree9d37ac3cd5d861648b5d55c277854457a1960893 /audio/tuxguitar/Makefile
parentf40ee75183a2fcb758977cb89b8b58c9263e4880 (diff)
downloadports-72ce090da09cce9a9ecd55cfcc55d200bba3309e.tar.gz
ports-72ce090da09cce9a9ecd55cfcc55d200bba3309e.zip
Notes
Diffstat (limited to 'audio/tuxguitar/Makefile')
-rw-r--r--audio/tuxguitar/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/tuxguitar/Makefile b/audio/tuxguitar/Makefile
index 5e23628d6065..03fd62775ca6 100644
--- a/audio/tuxguitar/Makefile
+++ b/audio/tuxguitar/Makefile
@@ -84,8 +84,7 @@ post-patch:
${WRKSRC}/TuxGuitar-gervill/build.xml
${REINPLACE_CMD} -e 's|CFLAGS?|CFLAGS+|g;\
- s|gcj|${LOCALBASE}/bin/gcj42|;\
- s|-I|-I${JAVA_HOME}/include -I${LOCALBASE}/include -I|;\
+ s|$$(shell gcj -print-file-name=include/)|${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd -I${LOCALBASE}/include|;\
s|/usr/lib|${LOCALBASE}/lib|' \
${WRKSRC}/TuxGuitar-oss/jni/GNUmakefile \
${WRKSRC}/TuxGuitar-fluidsynth/jni/GNUmakefile