slackbuilds_ponce/gis/gdal/gdal-python-install.patch
David Spencer 1ffa20b9dc gis/gdal: Moved from Libraries category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-02-08 11:10:09 -06:00

10 lines
398 B
Diff

--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.000000000 +0200
+++ swig/python/GNUmakefile 2010-05-05 19:14:58.000000000 +0200
@@ -72,5 +72,5 @@
ifeq ($(PY_HAVE_SETUPTOOLS),1)
- $(PYTHON) setup.py install
+ $(PYTHON) setup.py install --root=$(DESTDIR)
else
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)
endif