Bug 242361

Summary: math/vtk6: fix build on powerpc64 elfv2
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Stephen Montgomery-Smith <stephen>
Status: Closed FIXED    
Severity: Affects Only Me CC: stephen
Priority: --- Flags: bugzilla: maintainer-feedback? (stephen)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (stephen)

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