Bug 234190 - graphics/gimmage: fix build with GCC-based architectures
Summary: graphics/gimmage: fix build with GCC-based architectures
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 01:34 UTC by Piotr Kubaj
Modified: 2018-12-22 01:44 UTC (History)
2 users (show)

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


Attachments
patch (1.05 KB, patch)
2018-12-20 01:34 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 freebsd_committer 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 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