Date: Thu, 22 Feb 2024 01:40:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277216] math/vtk9: fix build with OSMESA and JAVA option Message-ID: <bug-277216-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277216 Bug ID: 277216 Summary: math/vtk9: fix build with OSMESA and JAVA option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: hiroo.ono+freebsd@gmail.com Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 248675 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248675&action= =3Dedit Patch to fix build with OSMESA and JAVA option. The build of vtk9 fails if I choose JAVA or OSMESA option. 1) In the Makefile, a typo exists which make the build fail with JAVA optio= n. The patch fixes it. 2) With OSMESA option, 2-1) USE=3D gl should only be included with OSMESA option, but currently t= here is "gl" entry in the global USES line. there is also USES+=3Dgl line with O= SMESA option. It makes gl doubled (USES=3D gl gl) and seems to trigger a strange behavior that lead to build failure. 2-2) need a little patch to the source to build with OSMESA option. Tested with poudriere testport on 14-STABLE. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277216-7788>