Bug 232107 - math/vtk5: fix build on GCC-based architectures
Summary: math/vtk5: fix build on GCC-based architectures
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-09 03:21 UTC by Piotr Kubaj
Modified: 2018-12-05 12:55 UTC (History)
2 users (show)

See Also:


Attachments
patch (1.01 KB, patch)
2018-10-09 03:21 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj 2018-10-09 03:21:22 UTC
Created attachment 197952 [details]
patch

Per upstream (http://vtk.1045678.n5.nabble.com/Problem-with-building-VTK-td5742905.html), building using GCC 6 and newer is not supported, they advise using GCC 5. Use that to build this port on architectures using GCC, since build fails with GCC 7.

While here, add USES=gl.

Tested on powerpc64.

Hardware sponsored by IntegriCloud.
Comment 1 Rene Ladan freebsd_committer 2018-12-05 12:55:18 UTC
The port does not build, see https://svnweb.freebsd.org/ports?view=revision&revision=483941 (verified today on 11.2-RELEASE amd64).

Remove this port instead.