Bug 233912

Summary: science/openbabel: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-12-10 20:26:07 UTC
Created attachment 200011 [details]
patch

This port build with GCC architectures when you specify USES=compiler:c++11-lang.

To solve incompatibilities with Wx headers, you need to compile with -std=c++11 on GCC architectures. CXXFLAGS+=-Wno-narrowing is also necessary.

While here, also add USES=gnome.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-12-11 07:50:29 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-12-11 07:51:19 UTC
A commit references this bug:

Author: yuri
Date: Tue Dec 11 07:50:24 UTC 2018
New revision: 487224
URL: https://svnweb.freebsd.org/changeset/ports/487224

Log:
  science/openbabel: fix build with GCC-based architectures

  While here, also add USES=gnome.

  PR:		233912
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/science/openbabel/Makefile