aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgda5
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2015-04-12 23:06:57 +0800
committerkwm <kwm@FreeBSD.org>2015-04-12 23:06:57 +0800
commite9a8de38e04a63c6486628f6c8c2df2669387822 (patch)
treed75fa1bd9d0e8b868a46ba20d6208946f206d7e7 /databases/libgda5
parent4f611b7c6dfd6a51c2f78c40371c0f4bc366d4b3 (diff)
downloadfreebsd-ports-gnome-e9a8de38e04a63c6486628f6c8c2df2669387822.tar.gz
freebsd-ports-gnome-e9a8de38e04a63c6486628f6c8c2df2669387822.tar.zst
freebsd-ports-gnome-e9a8de38e04a63c6486628f6c8c2df2669387822.zip
Move regeneration of getsp.java to pre-configure when java is actualy
is present. Submitted by: antoine@ Double pointyhat to: kwm@
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