Date: Sat, 23 Jan 2016 14:31:11 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406993 - head/ports-mgmt/portrac Message-ID: <201601231431.u0NEVBuw033957@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sat Jan 23 14:31:10 2016 New Revision: 406993 URL: https://svnweb.freebsd.org/changeset/ports/406993 Log: 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 Modified: head/ports-mgmt/portrac/Makefile Modified: head/ports-mgmt/portrac/Makefile ============================================================================== --- head/ports-mgmt/portrac/Makefile Sat Jan 23 14:30:29 2016 (r406992) +++ head/ports-mgmt/portrac/Makefile Sat Jan 23 14:31:10 2016 (r406993) @@ -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?201601231431.u0NEVBuw033957>