Bug 226862 - textproc/libepubgen needs c++11
Summary: textproc/libepubgen 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:20 UTC by Justin Hibbits
Modified: 2018-03-25 06:15 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: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!