Date: Mon, 5 Nov 2018 23:27:50 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484256 - head/java/java3d Message-ID: <201811052327.wA5NRo7L005244@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Mon Nov 5 23:27:49 2018 New Revision: 484256 URL: https://svnweb.freebsd.org/changeset/ports/484256 Log: When building on powerpc64, libj3dcore-ogl.so library isn't built. Fix install target by fixing CFLAGS. PR: 231946 Submitted by: Piotr Kubaj Modified: head/java/java3d/Makefile Modified: head/java/java3d/Makefile ============================================================================== --- head/java/java3d/Makefile Mon Nov 5 23:23:55 2018 (r484255) +++ head/java/java3d/Makefile Mon Nov 5 23:27:49 2018 (r484256) @@ -17,7 +17,7 @@ BROKEN_aarch64= fails to compile: GVector.java:168: b BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details -USES= tar:bzip2 +USES= gl tar:bzip2 USE_JAVA= yes USE_GL= gl USE_XORG= xt @@ -33,6 +33,8 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + post-patch: ${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ ${WRKSRC}/j3d-core/src/native/ogl/build-freebsd.xml @@ -58,10 +60,12 @@ do-install: ${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dcore.jar \ ${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dutils.jar \ ${STAGEDIR}${JAVA_HOME}/jre/lib/ext +.if ${ARCH} != powerpc64 @${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH} ${INSTALL} \ ${WRKSRC}/j3d-core/build/default/opt/native/libj3dcore-ogl.so \ ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH} +.endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811052327.wA5NRo7L005244>