summaryrefslogtreecommitdiff
path: root/community/mapnik/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mapnik/PKGBUILD')
-rw-r--r--community/mapnik/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD
index f88963df0..2d1d0983e 100644
--- a/community/mapnik/PKGBUILD
+++ b/community/mapnik/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 87049 2013-03-26 11:49:43Z foutrelis $
+# $Id: PKGBUILD 87421 2013-03-31 19:18:26Z stephane $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Dent <thewinch@gmail.com>
# Contributor: orbisvicis <orbisvicis@gmail.com>
pkgname=mapnik
pkgver=2.1.0
-pkgrel=8
+pkgrel=9
pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps"
arch=('i686' 'x86_64' 'mips64el')
url="http://mapnik.org/"
@@ -23,11 +23,17 @@ optdepends=('libxslt: Web Map Service'
'mod_wsgi2: Web Map Service')
makedepends=('scons' 'boost')
install="mapnik.install"
-source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2")
-md5sums=('d580c558a957444873bec9e24526b0a0')
+source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2"
+ "mapnik-2.1.0-compile-fix-for-boost-1.53.patch")
+md5sums=('d580c558a957444873bec9e24526b0a0'
+ 'fb456216b052742319428f65f1c979d6')
build() {
cd "$srcdir/$pkgname-v$pkgver"
+
+ # https://github.com/mapnik/mapnik/issues/1658
+ patch -Np1 -i "$srcdir/mapnik-2.1.0-compile-fix-for-boost-1.53.patch"
+
sed -i 's|lib64|lib|g' SConstruct
sed -i 's|python|python2|' \
utils/performance/mapnik-speed-check \
@@ -36,7 +42,7 @@ build() {
PREFIX="/usr" \
INPUT_PLUGINS=all \
DESTDIR="$pkgdir"
- scons
+ scons $MAKEFLAGS
}
package(){