Bug 242361 - math/vtk6: fix build on powerpc64 elfv2
Summary: math/vtk6: fix build on powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 11:04 UTC by Piotr Kubaj
Modified: 2019-12-03 01:30 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments
patch (695 bytes, patch)
2019-12-02 11:04 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (stephen)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-12-02 11:04:04 UTC
Created attachment 209599 [details]
patch

On ELFv2 ABI this port builds without -mminimal-toc and -mminimal-toc actually breaks build. It should only be used on ELFv1.

Also remove vtk5 from CONFLICTS.
Comment 1 Stephen Montgomery-Smith freebsd_committer 2019-12-03 01:25:59 UTC
I am committing this PR.  I must admit I am unable to test it, so if you find it doesn't work, get back in touch with me.
Comment 2 commit-hook freebsd_committer 2019-12-03 01:30:39 UTC
A commit references this bug:

Author: stephen
Date: Tue Dec  3 01:29:51 UTC 2019
New revision: 518897
URL: https://svnweb.freebsd.org/changeset/ports/518897

Log:
  - Fix build on powerpc64 elfv2.
  - Remove vtk5 from conflicts.
  - Bump portrevision.

  PR:		242361
  Submitted by:	Piotr Kubaj <pkubaj@FreeBSD.org>

Changes:
  head/math/vtk6/Makefile