diff options
author | glewis <glewis@FreeBSD.org> | 2004-08-08 10:34:29 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-08-08 10:34:29 +0800 |
commit | d6780211475a912dcf88dced398505f990359359 (patch) | |
tree | 92aa5b8223d9abbb5dae427ef781d79517aabd52 | |
parent | a78702c892f42c95b9676de661c446fa58a191a0 (diff) | |
download | freebsd-ports-gnome-d6780211475a912dcf88dced398505f990359359.tar.gz freebsd-ports-gnome-d6780211475a912dcf88dced398505f990359359.tar.zst freebsd-ports-gnome-d6780211475a912dcf88dced398505f990359359.zip |
. Avoid having to reproduce the ant build lines with some conditional
target definition.
Approved by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
-rw-r--r-- | databases/mysql-connector-java/Makefile | 6 | ||||
-rw-r--r-- | databases/mysql-connector-java50/Makefile | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile index 0da1358c72fa..8352b627aa41 100644 --- a/databases/mysql-connector-java/Makefile +++ b/databases/mysql-connector-java/Makefile @@ -66,10 +66,10 @@ pre-fetch: @${ECHO_MSG} "JDBC driver will operate with JVM 1.2.x or better" @${ECHO_MSG} "" -do-build: .if !defined(WITHOUT_COMPILE) - @(cd ${BUILD_WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${ALL_TARGET}) +post-build: +.else +do-build: .endif .if !defined(NOPORTDOCS) @${MKDIR} ${BUILDDIR}/doc && (cd ${BUILD_WRKSRC}; \ diff --git a/databases/mysql-connector-java50/Makefile b/databases/mysql-connector-java50/Makefile index 0da1358c72fa..8352b627aa41 100644 --- a/databases/mysql-connector-java50/Makefile +++ b/databases/mysql-connector-java50/Makefile @@ -66,10 +66,10 @@ pre-fetch: @${ECHO_MSG} "JDBC driver will operate with JVM 1.2.x or better" @${ECHO_MSG} "" -do-build: .if !defined(WITHOUT_COMPILE) - @(cd ${BUILD_WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} ${ALL_TARGET}) +post-build: +.else +do-build: .endif .if !defined(NOPORTDOCS) @${MKDIR} ${BUILDDIR}/doc && (cd ${BUILD_WRKSRC}; \ |