1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Try to fix the build by patching Makefiles better

- While at it, add USES=desktop-file-utils
- Bump PORTREVISION
This commit is contained in:
Pietro Cerutti 2014-07-28 13:41:55 +00:00
parent 1b2c16cde7
commit f0319d4292
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363152

View File

@ -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; \