pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54032: cmake requires -std=c++1z

>Number:         54032
>Category:       pkg
>Synopsis:       cmake requires -std=c++1z
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 02 13:15:01 +0000 2019
>Originator:     Shinichi Doyashiki
>Release:        NetBSD 8.99.28
	at home
System: NetBSD 8.99.28 NetBSD 8.99.28 (GENERIC) #0: Mon Dec 24 20:48:00 JST 2018 amd64
Architecture: x86_64
Machine: amd64
	the cmake package requires special CXXFLAGS.
	if doing plain build, it fails as following:

CMake Error at CMakeLists.txt:92 (message):
  The C++ compiler does not support C++11 (e.g.  std::unique_ptr).

	cd ${PKGSRC}/devel/cmake && make update
	to a workaround, run make as following:
	# env CXXFLAGS="-O3 -std=c++1z" make update

Home | Main Index | Thread Index | Old Index