Bug 226862

Summary: textproc/libepubgen 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:20:34 UTC
Building textproc/libepubgen on powerpc64, for libreoffice, I see the following errors:

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.

compiler:c++11-lang in the USES line should fix this.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-03-25 05:19:02 UTC
A commit references this bug:

Author: yuri
Date: Sun Mar 25 05:18:07 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
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2018-03-25 06:15:05 UTC
Committed, thanks!