summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-01-22 14:54:51 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:23:15 +0700
commit6202f1358b5e60b3aa5b8a5d9ede35f4600ab2e4 (patch)
treeb87c6c020a5175d60f13556cdc98ab4c3a4aed56 /gis
parentaa2d1dcd1c466899345e39b5b071e9941cda3dc4 (diff)
downloadslackbuilds-6202f1358b5e60b3aa5b8a5d9ede35f4600ab2e4.tar.gz
gis/pyspatialite: Fix build.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis')
-rw-r--r--gis/pyspatialite/pyspatialite.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/gis/pyspatialite/pyspatialite.SlackBuild b/gis/pyspatialite/pyspatialite.SlackBuild
index f43bc6cbe4..c51c0a76df 100644
--- a/gis/pyspatialite/pyspatialite.SlackBuild
+++ b/gis/pyspatialite/pyspatialite.SlackBuild
@@ -70,6 +70,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i '/^#include "sqlite3.h"$/d' src/{statement,util}.h
CFLAGS=-I/usr/include python setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \