From owner-svn-ports-head@FreeBSD.ORG Sat Apr 11 20:30:20 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 465ADD2F; Sat, 11 Apr 2015 20:30:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 17276258; Sat, 11 Apr 2015 20:30:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3BKUJSx017192; Sat, 11 Apr 2015 20:30:19 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3BKUJv7017189; Sat, 11 Apr 2015 20:30:19 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201504112030.t3BKUJv7017189@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 11 Apr 2015 20:30:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383830 - in head/x11-toolkits/py-wxPython30: . files 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.18-1 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, 11 Apr 2015 20:30:20 -0000 Author: marino Date: Sat Apr 11 20:30:18 2015 New Revision: 383830 URL: https://svnweb.freebsd.org/changeset/ports/383830 Log: x11-toolkits/py-wxPython30: Unbreak on F8 and F9 This port must be built under c++11 standard like the rest of the wx-dependent ports. I couldn't find a way to pass the flag so I had to patch the python script directly. Also, the USES=compiler setting was missing, which is required to actually pull in a c++11 capable compiler on the older FreeBSD releases. This port was blocking ~29 other ports from building on releases that it wouldn't build on. Approved by: blanket Added: head/x11-toolkits/py-wxPython30/files/patch-config.py (contents, props changed) Modified: head/x11-toolkits/py-wxPython30/Makefile Modified: head/x11-toolkits/py-wxPython30/Makefile ============================================================================== --- head/x11-toolkits/py-wxPython30/Makefile Sat Apr 11 20:17:09 2015 (r383829) +++ head/x11-toolkits/py-wxPython30/Makefile Sat Apr 11 20:30:18 2015 (r383830) @@ -2,7 +2,7 @@ PORTNAME= wxPython PORTVERSION= 3.0.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits python MASTER_SITES= SF/wxpython/wxPython/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +16,7 @@ DIST_SUBDIR= python WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython -USES= python tar:bzip2 +USES= compiler:c++11-lib python tar:bzip2 .if defined(WITH_WXVERSION_ONLY) Added: head/x11-toolkits/py-wxPython30/files/patch-config.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/py-wxPython30/files/patch-config.py Sat Apr 11 20:30:18 2015 (r383830) @@ -0,0 +1,10 @@ +--- config.py.orig 2015-04-11 19:08:36 UTC ++++ config.py +@@ -1030,6 +1030,7 @@ elif os.name == 'posix' or COMPILER == ' + + cflags = getWxConfigValue('--cxxflags') + cflags = cflags.split() ++ cflags.append('-std=c++11') + if debug: + cflags.append('-ggdb') + cflags.append('-O0')