svn commit: r407034 - branches/2016Q1/ports-mgmt/portrac
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sat Jan 23 15:30:35 UTC 2016
Author: rakuco
Date: Sat Jan 23 15:30:34 2016
New Revision: 407034
URL: https://svnweb.freebsd.org/changeset/ports/407034
Log:
MFH: r406993
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.
Approved by: portmgr (miwi)
Modified:
branches/2016Q1/ports-mgmt/portrac/Makefile
Directory Properties:
branches/2016Q1/ (props changed)
Modified: branches/2016Q1/ports-mgmt/portrac/Makefile
==============================================================================
--- branches/2016Q1/ports-mgmt/portrac/Makefile Sat Jan 23 15:26:48 2016 (r407033)
+++ branches/2016Q1/ports-mgmt/portrac/Makefile Sat Jan 23 15:30:34 2016 (r407034)
@@ -11,7 +11,6 @@ COMMENT= Simple GUI tool for tracking po
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
More information about the svn-ports-all
mailing list