Bug 226861

Summary: textproc/libqxp needs c++11
Product: Ports & Packages Reporter: Justin Hibbits <jhibbits>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, val, yuri
Priority: --- Flags: bugzilla: maintainer-feedback? (val)
Version: Latest   
Hardware: Any   
OS: Any   

Description Justin Hibbits freebsd_committer freebsd_triage 2018-03-23 02:18:17 UTC
Attempting to build textproc/libqxp, in order to build libreoffice, I see the following errors on powerpc64:

checking whether c++ supports C++11 features by default... no
checking whether c++ supports C++11 features with -std=gnu++11... no
checking whether c++ supports C++11 features with -std=gnu++0x... no
checking whether c++ supports C++11 features with -std=c++11... no
checking whether c++ supports C++11 features with +std=c++11... no
checking whether c++ supports C++11 features with -h std=c++11... no
checking whether c++ supports C++11 features with -std=c++0x... no
checking whether c++ supports C++11 features with +std=c++0x... no
checking whether c++ supports C++11 features with -h std=c++0x... no
configure: error: *** A compiler with support for C++11 language features is required.

Changing the "compiler:features" to "compiler:c++11-lang" should fix this.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-03-25 05:18:11 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-03-25 05:19:00 UTC
A commit references this bug:

Author: yuri
Date: Sun Mar 25 05:18:06 UTC 2018
New revision: 465497
URL: https://svnweb.freebsd.org/changeset/ports/465497

Log:
  textproc/libqxp textproc/libepubgen: Add USES=compiler:c++11-lang

  jhibbits reported that they are failng on powerpc64 because of
  c++11 issues.

  PR:		226861 226862
  Reported by:	jhibbits

Changes:
  head/textproc/libepubgen/Makefile
  head/textproc/libqxp/Makefile