diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-09 17:58:46 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-09 17:58:46 +0000 |
commit | 2fa40785683d67dce70c7193df7544cb9c1fc140 (patch) | |
tree | a3b70e3a514d326dce6d5693a97d073927e62875 /graphics/mapnik/files/patch-SConstruct | |
parent | Fix PKGNAMEPREFIX to match elasticsearch-plugin-marvel (diff) |
- Update to 3.0.9
- Fix LICENSE
- Strip libraries
- Respect CFLAGS/CXXFLAGS
- Make proj optional
- Switch to options helpers
- Simplify docs installation
PR: 207060
Submitted by: amdmi3
Approved by: maintainer timeout (littlesavage@rambler.ru, 3 weeks)
Diffstat (limited to 'graphics/mapnik/files/patch-SConstruct')
-rw-r--r-- | graphics/mapnik/files/patch-SConstruct | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/mapnik/files/patch-SConstruct b/graphics/mapnik/files/patch-SConstruct new file mode 100644 index 000000000000..8ad4634ad5ca --- /dev/null +++ b/graphics/mapnik/files/patch-SConstruct @@ -0,0 +1,13 @@ +--- SConstruct.orig 2016-02-15 15:52:54 UTC ++++ SConstruct +@@ -1789,10 +1789,6 @@ if not preconfigured: + + if env['DEBUG']: + env.Append(CXXFLAGS = common_cxx_flags + '-O0') +- else: +- # TODO - add back -fvisibility-inlines-hidden +- # https://github.com/mapnik/mapnik/issues/1863 +- env.Append(CXXFLAGS = common_cxx_flags + '-O%s' % (env['OPTIMIZATION'])) + if env['DEBUG_UNDEFINED']: + env.Append(CXXFLAGS = '-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error -ftrapv -fwrapv') + |