openbsd-ports/geo/gdal/patches/patch-swig_python_GNUmakefile
landry b4ec3d695d Update to gdal 1.7.3:
- bump major
- fix WANTLIBs after proj update
- clean CONFIGURE_ARGS, remove unknown flags and precise png/geotiff dir
2010-11-21 09:37:40 +00:00

21 lines
633 B
Plaintext

$OpenBSD: patch-swig_python_GNUmakefile,v 1.2 2010/11/21 09:37:40 landry Exp $
tweak to build egg-info files during build stage
--- swig/python/GNUmakefile.orig Sun Nov 7 19:28:49 2010
+++ swig/python/GNUmakefile Wed Nov 17 20:31:42 2010
@@ -63,14 +63,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