summaryrefslogtreecommitdiffstats
path: root/test/gdal/gdal-1.5.1-python-install.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:15:00 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:15:00 +0200
commitf23ed5e06efcde55c7306bdcfd5d508b5f233ecf (patch)
treec638c9635eef7d2573b4740ae280660c7aedef48 /test/gdal/gdal-1.5.1-python-install.patch
parentded98e543c40bad21338dd92ed5e61d6d35a728d (diff)
downloadnutyx-pakxe-f23ed5e06efcde55c7306bdcfd5d508b5f233ecf.tar.gz
nutyx-pakxe-f23ed5e06efcde55c7306bdcfd5d508b5f233ecf.tar.bz2
nutyx-pakxe-f23ed5e06efcde55c7306bdcfd5d508b5f233ecf.tar.xz
nutyx-pakxe-f23ed5e06efcde55c7306bdcfd5d508b5f233ecf.zip
gdal, déplacé dans test
Diffstat (limited to 'test/gdal/gdal-1.5.1-python-install.patch')
-rw-r--r--test/gdal/gdal-1.5.1-python-install.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gdal/gdal-1.5.1-python-install.patch b/test/gdal/gdal-1.5.1-python-install.patch
new file mode 100644
index 000000000..fd1b7e488
--- /dev/null
+++ b/test/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