forked from Lainports/freebsd-ports
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
10 lines
306 B
Python
10 lines
306 B
Python
--- 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')
|