Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 07:54:12 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383841 - head/databases/libgda5
Message-ID:  <201504120754.t3C7sC5f038185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504120754.t3C7sC5f038185>