mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Fix build on FreeBSD 9.
Add the same -D_GLIBCXX_USE_C99 trick that a few other ports use so that gcc48 and its libstdc++ make std::to_string() available. MFH: 2016Q1
This commit is contained in:
parent
c79d680d8e
commit
9410535363
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406993
@ -11,7 +11,6 @@ COMMENT= Simple GUI tool for tracking port updates
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
BROKEN_FreeBSD_9= does not build (lacking c++11 support)
|
||||
BROKEN_sparc64= fails to compile: error in C++ code
|
||||
|
||||
PLIST_FILES= bin/portrac \
|
||||
@ -19,6 +18,9 @@ PLIST_FILES= bin/portrac \
|
||||
share/portrac/up-to-date.png \
|
||||
share/portrac/updates-available.png
|
||||
|
||||
# Unhide std::to_string() to fix build with GCC (ports/193528)
|
||||
CXXFLAGS= -D_GLIBCXX_USE_C99
|
||||
|
||||
USES= compiler:c++11-lib qmake tar:bzip2
|
||||
USE_CXXSTD= c++11
|
||||
USE_QT5= widgets buildtools_build
|
||||
|
Loading…
Reference in New Issue
Block a user