mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
6570dbf953
Feature safe: yes
21 lines
1013 B
Plaintext
21 lines
1013 B
Plaintext
--- SConstruct.orig 2011-11-23 00:27:03.000000000 +0400
|
|
+++ SConstruct 2011-11-24 18:10:25.000000000 +0400
|
|
@@ -30,7 +30,7 @@
|
|
opts.Add(PathVariable('prefix', 'autotools-style installation prefix', default_prefix, validator=PathVariable.PathIsDirCreate))
|
|
|
|
opts.Add(BoolVariable('debug', 'enable HEAVY_DEBUG and disable optimizations', False))
|
|
-env = Environment(ENV=os.environ, options=opts)
|
|
+env = Environment(ENV=os.environ, options=opts, **dict((k, v.split()) for k, v in ARGUMENTS.iteritems()))
|
|
if sys.platform == "win32":
|
|
# remove this mingw if trying VisualStudio
|
|
env = Environment(tools=['mingw'], ENV=os.environ, options=opts)
|
|
@@ -39,7 +39,7 @@
|
|
env.ParseConfig('pkg-config --cflags --libs glib-2.0')
|
|
env.ParseConfig('pkg-config --cflags --libs libpng')
|
|
|
|
-env.Append(CXXFLAGS=' -Wall -Wno-sign-compare -Wno-write-strings')
|
|
+env.Append(CXXFLAGS=['-Wall', '-Wno-sign-compare', '-Wno-write-strings'])
|
|
|
|
# Get the numpy include path (for numpy/arrayobject.h).
|
|
numpy_path = numpy.get_include()
|