Opened 6 years ago

Closed 6 years ago

#57681 closed defect (fixed)

libwpd-0.10: Needs cxx11 1.1 portgroup

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard lion mountainlion Cc:
Port: libwpd-0.10

Description

On 10.6 libwpd-0.10 says it requires C++11:

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

On 10.8 it says it requires boost; same on 10.7:

checking whether /usr/bin/clang++ supports C++11 features by default... no
checking whether /usr/bin/clang++ supports C++11 features with -std=gnu++11... yes
checking for __attribute__((format))... yes
checking for native Win32... no
checking for Win32 platform in general... no
checking for -fvisibility=hidden compiler flag... yes
checking for Darwin (Mac OS X) platform... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for
	librevenge-0.0 >= 0.0.1
... yes
checking for boost/spirit/include/qi.hpp... no
configure: error: Required boost headers not found.

We have packages for Leopard and for Mavericks and later. Probably the simplest fix is to include the cxx11 portgroup.

Change History (1)

comment:1 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.