aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-08-19 23:50:26 +0800
committergahr <gahr@FreeBSD.org>2009-08-19 23:50:26 +0800
commit05a7a93b935935a9c7f043068c03d8efb2355210 (patch)
tree50fe4652ba1919c5c9df5b9356fbcbc863166df6 /audio
parentbfa34d9dc601848ed45db0abe91587cf9338b82d (diff)
downloadfreebsd-ports-gnome-05a7a93b935935a9c7f043068c03d8efb2355210.tar.gz
freebsd-ports-gnome-05a7a93b935935a9c7f043068c03d8efb2355210.tar.zst
freebsd-ports-gnome-05a7a93b935935a9c7f043068c03d8efb2355210.zip
- Fix build without gcj
Reported by: QAT
Diffstat (limited to 'audio')
-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