- 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]
This commit is contained in:
+11
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user