Bug 226861 - textproc/libqxp needs c++11
Summary: textproc/libqxp needs c++11
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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-23 02:18 UTC by Justin Hibbits
Modified: 2018-03-25 05:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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