Bug 236822

Summary: games/ecwolf: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon
Priority: --- Flags: pkubaj: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-03-27 07:26:19 UTC
Created attachment 203179 [details]
patch

GCC architectures need USES=compiler:c++11-lang to build this port.

While here, also add USES=sdl.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-03-29 15:45:08 UTC
A commit references this bug:

Author: linimon
Date: Fri Mar 29 15:44:58 UTC 2019
New revision: 497157
URL: https://svnweb.freebsd.org/changeset/ports/497157

Log:
  Fix build on GCC-based architectures:

    /usr/local/lib/libgraphite2.so.3: undefined reference to '__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

  PR:		236822
  Submitted by:	maintainer

Changes:
  head/games/ecwolf/Makefile