aboutsummaryrefslogtreecommitdiff
path: root/databases/libgda5
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-04-12 15:06:57 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-04-12 15:06:57 +0000
commit4ae0153c7aee638a7b41690dbfb15b408bda6dce (patch)
treed75fa1bd9d0e8b868a46ba20d6208946f206d7e7 /databases/libgda5
parent30a5a15085eb1f1d16ac6477bf1a1aa025b78c5c (diff)
downloadports-4ae0153c7aee638a7b41690dbfb15b408bda6dce.tar.gz
ports-4ae0153c7aee638a7b41690dbfb15b408bda6dce.zip
Move regeneration of getsp.java to pre-configure when java is actualy
is present. Submitted by: antoine@ Double pointyhat to: kwm@
Notes
Notes: svn path=/head/; revision=383872
Diffstat (limited to 'databases/libgda5')
-rw-r--r--databases/libgda5/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile
index 37281e4baa63..5e43dc222b56 100644
--- a/databases/libgda5/Makefile
+++ b/databases/libgda5/Makefile
@@ -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