diff options
author | kwm <kwm@FreeBSD.org> | 2015-04-12 23:06:57 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-04-12 23:06:57 +0800 |
commit | e9a8de38e04a63c6486628f6c8c2df2669387822 (patch) | |
tree | d75fa1bd9d0e8b868a46ba20d6208946f206d7e7 /databases/libgda5 | |
parent | 4f611b7c6dfd6a51c2f78c40371c0f4bc366d4b3 (diff) | |
download | freebsd-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/Makefile | 6 |
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 |