svn commit: r383841 - head/databases/libgda5
Koop Mast
kwm at FreeBSD.org
Sun Apr 12 07:54:13 UTC 2015
Author: kwm
Date: Sun Apr 12 07:54:11 2015
New Revision: 383841
URL: https://svnweb.freebsd.org/changeset/ports/383841
Log:
Only try to execute java if we building the jdbc plugin. Else java isn't
available.
Submitted by: antoine@
Modified:
head/databases/libgda5/Makefile
Modified: head/databases/libgda5/Makefile
==============================================================================
--- head/databases/libgda5/Makefile Sun Apr 12 07:36:38 2015 (r383840)
+++ head/databases/libgda5/Makefile Sun Apr 12 07:54:11 2015 (r383841)
@@ -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' \
More information about the svn-ports-head
mailing list