Date: Sat, 11 Apr 2015 20:30:19 +0000 (UTC) From: John Marino <marino@FreeBSD.org> 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 Message-ID: <201504112030.t3BKUJv7017189@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504112030.t3BKUJv7017189>