[python-mapnik] 01/05: Fix patch to link boost libraries.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Wed Jul 15 22:34:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-mapnik.
commit 2cd409100cadc483ee622757ebe53a354d07c3d3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Jul 15 23:24:09 2015 +0200
Fix patch to link boost libraries.
---
debian/patches/link-boost.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/link-boost.patch b/debian/patches/link-boost.patch
new file mode 100644
index 0000000..1fa160e
--- /dev/null
+++ b/debian/patches/link-boost.patch
@@ -0,0 +1,18 @@
+Description: Fix boost library names.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/setup.py
++++ b/setup.py
+@@ -30,9 +30,9 @@ else:
+ mapnik_config = 'mapnik-config'
+ mason_build = False
+
+-boost_python_lib = os.environ.get("BOOST_PYTHON_LIB", 'boost_python-mt')
+-boost_system_lib = os.environ.get("BOOST_SYSTEM_LIB", 'boost_system-mt')
+-boost_thread_lib = os.environ.get("BOOST_THREAD_LIB", 'boost_thread-mt')
++boost_python_lib = os.environ.get("BOOST_PYTHON_LIB", 'boost_python')
++boost_system_lib = os.environ.get("BOOST_SYSTEM_LIB", 'boost_system')
++boost_thread_lib = os.environ.get("BOOST_THREAD_LIB", 'boost_thread')
+
+ try:
+ linkflags = subprocess.check_output([mapnik_config, '--libs']).rstrip('\n').split(' ')
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9df6f28
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+link-boost.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-mapnik.git
More information about the Pkg-grass-devel
mailing list