From f187143050d3e69b06b9d36cf856df4194b8c116 Mon Sep 17 00:00:00 2001 From: kwm Date: Sun, 12 Apr 2015 07:54:11 +0000 Subject: Only try to execute java if we building the jdbc plugin. Else java isn't available. Submitted by: antoine@ --- databases/libgda5/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'databases') 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|||' \ ${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' \ -- cgit