Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 15:06:58 +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: r383872 - head/databases/libgda5
Message-ID:  <201504121506.t3CF6w33043640@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sun Apr 12 15:06:57 2015
New Revision: 383872
URL: https://svnweb.freebsd.org/changeset/ports/383872

Log:
  Move regeneration of getsp.java to pre-configure when java is actualy
  is present.
  
  Submitted by:	antoine@
  Double pointyhat to:	kwm@

Modified:
  head/databases/libgda5/Makefile

Modified: head/databases/libgda5/Makefile
==============================================================================
--- head/databases/libgda5/Makefile	Sun Apr 12 14:37:50 2015	(r383871)
+++ head/databases/libgda5/Makefile	Sun Apr 12 15:06:57 2015	(r383872)
@@ -110,7 +110,6 @@ post-patch:
 .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} \
@@ -119,6 +118,11 @@ post-patch:
 		{} \;
 .endif
 
+pre-configure:
+.if ${LIBGDA5_SLAVE} == jdbc
+	@cd ${WRKSRC} && ${LOCALBASE}/bin/javac getsp.java
+.endif	
+
 pre-build:
 .if ${LIBGDA5_SLAVE}==postgresql
 	cd ${WRKSRC}/providers/reuseable/postgres && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-postgres.la



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