diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2013-06-16 17:05:55 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2013-06-16 17:05:55 +0000 |
commit | 1f0ed457fde6c2f7e78f718079044082bd3fedce (patch) | |
tree | 0ec69890271501d6cd2384ccff717fa4bbc3c50b /java/java3d/Makefile | |
parent | - Fix ownership and permissions of the installed files. (diff) |
- Fix build with JDK 1.7. [1]
- Propagate Make environment to Ant to use the correct JDK and not just the one
that Ant was built with.
PR: 173505 [1]
Submitted by: James Raynard <james.raynard@pobox.com> [1]
Patch by: Piotr Smyrak <piotr.smyrak@gmail.com> [1]
Obtained from: https://launchpad.net/ubuntu/+source/java3d/1.5.2+dfsg-8 [1]
Notes
Notes:
svn path=/head/; revision=321060
Diffstat (limited to 'java/java3d/Makefile')
-rw-r--r-- | java/java3d/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/java/java3d/Makefile b/java/java3d/Makefile index 015c8819a71e..c71ec7d91577 100644 --- a/java/java3d/Makefile +++ b/java/java3d/Makefile @@ -3,7 +3,7 @@ PORTNAME= java3d PORTVERSION= 1.5.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java graphics games devel MASTER_SITES= https://sites.google.com/site/daemonwizard/ DISTNAME= java3d-${PORTVERSION} @@ -29,10 +29,17 @@ PORTDOCS= * .include <bsd.port.options.mk> do-build: - cd ${WRKSRC}/vecmath && ${ANT} dist - cd ${WRKSRC}/j3d-core && ${ANT} -Dbuild.type=fcs -Dis${OPSYS}=yes -Dports.localbase=${LOCALBASE} jar-opt + cd ${WRKSRC}/vecmath && ${SETENV} ${MAKE_ENV} ${ANT} dist + cd ${WRKSRC}/j3d-core \ + && ${SETENV} ${MAKE_ENV} ${ANT} -Dbuild.type=fcs \ + -Dis${OPSYS}=yes \ + -Dports.localbase=${LOCALBASE} \ + jar-opt .if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/j3d-core && ${ANT} -Dbuild.type=fcs -Dis${OPSYS}=yes docs-public + cd ${WRKSRC}/j3d-core \ + && ${SETENV} ${MAKE_ENV} ${ANT} -Dbuild.type=fcs \ + -Dis${OPSYS}=yes \ + docs-public .endif do-install: |