openbsd-ports/geo/gdal/patches/patch-swig_python_GNUmakefile
landry 62aa5dfc49 Update to gdal 1.8.0, loosely based on a diff from wen heping..
Remove REVISION, bump major, remove NO_REGRESS, enable thread support,
change my mail adress while here.
Tested on amd64 with qgis, mapserver and qlandkartegt, built fine on
sparc64.
2011-06-22 12:53:12 +00:00

21 lines
633 B
Plaintext

$OpenBSD: patch-swig_python_GNUmakefile,v 1.3 2011/06/22 12:53:12 landry Exp $
tweak to build egg-info files during build stage
--- swig/python/GNUmakefile.orig Fri Jan 14 06:19:06 2011
+++ swig/python/GNUmakefile Mon Jun 20 22:18:34 2011
@@ -54,14 +54,12 @@ generate: ${WRAPPERS} gdal_array_wrap.cpp
build:
$(PYTHON) setup.py build
-
-egg:
$(PYTHON) setup.py bdist_egg
install:
ifeq ($(PY_HAVE_SETUPTOOLS),1)
- $(PYTHON) setup.py install
+ $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) --root=/ --single-version-externally-managed
else
$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
endif