Date: Sat, 23 Jan 2016 15:30:34 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r407034 - branches/2016Q1/ports-mgmt/portrac Message-ID: <201601231530.u0NFUYw9056371@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601231530.u0NFUYw9056371>