summaryrefslogtreecommitdiffstats
path: root/extra/gdal/gdal-1.5.1-python-install.patch
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-10 14:42:54 +0100
committerlesibel <lesibel@free.fr>2009-11-10 14:42:54 +0100
commit54b397763ebf4c283256dbfe1ab163c356aa3186 (patch)
tree3703554b030d56c4ffa85d45901db0e8b137df5f /extra/gdal/gdal-1.5.1-python-install.patch
parent2dcc81ec2842587618ea2b3ff2032c82af5b2cba (diff)
downloadnutyx-pakxe-54b397763ebf4c283256dbfe1ab163c356aa3186.tar.gz
nutyx-pakxe-54b397763ebf4c283256dbfe1ab163c356aa3186.tar.bz2
nutyx-pakxe-54b397763ebf4c283256dbfe1ab163c356aa3186.tar.xz
nutyx-pakxe-54b397763ebf4c283256dbfe1ab163c356aa3186.zip
Ajout de gdal#1.6.2-1
Diffstat (limited to 'extra/gdal/gdal-1.5.1-python-install.patch')
-rw-r--r--extra/gdal/gdal-1.5.1-python-install.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/gdal/gdal-1.5.1-python-install.patch b/extra/gdal/gdal-1.5.1-python-install.patch
new file mode 100644
index 000000000..fd1b7e488
--- /dev/null
+++ b/extra/gdal/gdal-1.5.1-python-install.patch
@@ -0,0 +1,14 @@
+--- swig/python/GNUmakefile.orig 2008-02-02 17:00:52.000000000 -0800
++++ swig/python/GNUmakefile 2008-02-02 17:02:03.000000000 -0800
+@@ -51,9 +51,9 @@
+ install:
+
+ 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
+
+ for f in $(SCRIPTS) ; do $(INSTALL) ./scripts/$$f $(DESTDIR)$(INST_BIN) ; done