aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-04-12 15:54:11 +0800
committerkwm <kwm@FreeBSD.org>2015-04-12 15:54:11 +0800
commitf187143050d3e69b06b9d36cf856df4194b8c116 (patch)
tree7f19d28df13c98278f9ab190eae74ea84770c3a3 /databases
parent03aeeef2eb8359f67d8f8fd23dd5a4f494f99c85 (diff)
downloadfreebsd-ports-gnome-f187143050d3e69b06b9d36cf856df4194b8c116.tar.gz
freebsd-ports-gnome-f187143050d3e69b06b9d36cf856df4194b8c116.tar.zst
freebsd-ports-gnome-f187143050d3e69b06b9d36cf856df4194b8c116.zip
Only try to execute java if we building the jdbc plugin. Else java isn't
available. Submitted by: antoine@
Diffstat (limited to 'databases')
-rw-r--r--databases/libgda5/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile
index 54c5b6bd3347..37281e4baa63 100644
--- a/databases/libgda5/Makefile
+++ b/databases/libgda5/Makefile
@@ -107,9 +107,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|<db\.h>|<db${BDB_VER}/db.h>|' \
${WRKSRC}/providers/bdb/gda-bdb-provider.c \
${WRKSRC}/providers/bdb/gda-bdb-test.c
+.if ${LIBGDA5_SLAVE} == jdbc
@${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH}|g' \
${WRKSRC}/getsp.java
@cd ${WRKSRC} && ${LOCALBASE}/bin/javac getsp.java
+.endif
.if ${LIBGDA5_SLAVE}!="no"
@${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \
-e 's|$$(top_builddir)/libgda/libgda-5.0.la|-lgda-5.0|g' \