diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-01-23 14:31:10 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2016-01-23 14:31:10 +0000 |
commit | 9410535363ce2317f05c06dc1d488039f51c33d9 (patch) | |
tree | b3228d0777526a983f8a354e6324178a948019a0 /ports-mgmt | |
parent | Put LICENSE before LIB_DEPENDS to make portlint happy. (diff) |
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
Notes
Notes:
svn path=/head/; revision=406993
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portrac/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ports-mgmt/portrac/Makefile b/ports-mgmt/portrac/Makefile index e3ea27681b1e..33971eedac47 100644 --- a/ports-mgmt/portrac/Makefile +++ b/ports-mgmt/portrac/Makefile @@ -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 |