Bug 234190

Summary: graphics/gimmage: 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, portmaster
Priority: --- Flags: bugzilla: maintainer-feedback? (portmaster)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-12-20 01:34:03 UTC
Created attachment 200293 [details]
patch

This port needs USES=compiler:c++11-lang to build on GCC architectures.

Additionally, our CXXFLAGS conflict with GCC. Set them only on Clang architectures. -stdlib=libc++ isn't needed anymore, it's used by default.

While here, also set USES=gnome.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-22 01:44:47 UTC
A commit references this bug:

Author: linimon
Date: Sat Dec 22 01:44:15 UTC 2018
New revision: 488043
URL: https://svnweb.freebsd.org/changeset/ports/488043

Log:
  This port needs USES=compiler:c++11-lang to build on GCC-based
  architectures.

  Additionally, our CXXFLAGS conflict with GCC.  Set them only on Clang-
  based architectures.  -stdlib=libc++ isn't needed anymore, it's used
  by default.

  While here, also set USES=gnome.

  PR:		234190
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/graphics/gimmage/Makefile