From owner-svn-ports-head@freebsd.org Sat Jan 23 14:31:12 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5130EA8E748; Sat, 23 Jan 2016 14:31:12 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21A8A10FE; Sat, 23 Jan 2016 14:31:12 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0NEVBKV033958; Sat, 23 Jan 2016 14:31:11 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0NEVBuw033957; Sat, 23 Jan 2016 14:31:11 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201601231431.u0NEVBuw033957@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Sat, 23 Jan 2016 14:31:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406993 - head/ports-mgmt/portrac X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 14:31:12 -0000 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