svn commit: r383830 - in head/x11-toolkits/py-wxPython30: . files
John Marino
marino at FreeBSD.org
Sat Apr 11 20:30:20 UTC 2015
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')
More information about the svn-ports-all
mailing list