Created attachment 197781 [details] patch When building on powerpc64, libj3dcore-ogl.so library isn't built. Fix install target by not trying to install it. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
Created attachment 198798 [details] v2 Fix it properly. The library wasn't built because of bad CFLAGS.
A commit references this bug: Author: linimon Date: Mon Nov 5 23:27:50 UTC 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 Changes: head/java/java3d/Makefile
@Mark You committed the first version of my patch, which wasn't correct. Could you commit the newer version?
With the newer version I get: pkg-static: Unable to access file /wrkdirs/usr/ports/java/java3d/work/stage/usr/local/openjdk8/jre/lib/powerpc64/libj3dcore-ogl.so:No such file or directory
Created attachment 200004 [details] successfull build log
Created attachment 200005 [details] v3 Just for clarity, I'm attaching the patch against current ports tree. As shown with attached build log, it builds.
A commit references this bug: Author: linimon Date: Wed Jan 2 09:32:49 UTC 2019 New revision: 489072 URL: https://svnweb.freebsd.org/changeset/ports/489072 Log: Correct mistakes made in r484256 by not including newer version of patch. This correctly fixes the build on powerpc64. PR: 231946 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/java/java3d/Makefile head/java/java3d/files/patch-freebsd
A commit references this bug: Author: linimon Date: Wed Jan 2 09:48:08 UTC 2019 New revision: 489073 URL: https://svnweb.freebsd.org/changeset/ports/489073 Log: MFH: r489072 Correct mistakes made in r484256 by not including newer version of patch. This correctly fixes the build on powerpc64. PR: 231946 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Approved by: portmgr (tier-2 blanket) Changes: _U branches/2019Q1/ branches/2019Q1/java/java3d/Makefile branches/2019Q1/java/java3d/files/patch-freebsd