openbsd-ports/geo/gdal/patches/patch-swig_python_GNUmakefile
landry 6a94806d6d Update to gdal 2.4.0.
See https://trac.osgeo.org/gdal/wiki/Release/2.4.0-News

Upstream switched to pytest for tests, adjust accordingly and add a
patch that worksaround the fact that pytest 3.6 is required (cf
OSGeo/gdal#1165)

Add another temporary patch as we dont have RLIMIT_AS (cf
OSGeo/gdal#1163)

tested in a bulk build without fallout.
2018-12-28 08:53:59 +00:00

19 lines
745 B
Plaintext

$OpenBSD: patch-swig_python_GNUmakefile,v 1.7 2018/12/28 08:53:59 landry Exp $
cf https://github.com/OSGeo/gdal/commit/8cae2eb06969b85725acd7094e9481e32ab23b5b &
https://github.com/OSGeo/gdal/commit/975c95853a5630dbd82bf6ea5b0b4083792cee5d
fix python prefix install, otherwise ends up adding fake twice
Index: swig/python/GNUmakefile
--- swig/python/GNUmakefile.orig
+++ swig/python/GNUmakefile
@@ -86,7 +86,7 @@ ifdef DESTDIR
endif
ifdef PREFIX
- setup_opts+=--prefix=$(PREFIX)
+ setup_opts+=--prefix=$(prefix)
else ifdef prefix
ifeq ($(shell uname),Darwin)
STD_UNIX_LAYOUT=$(shell $(PYTHON) -c "from __future__ import print_function;import sys;print(\"FALSE\" if \"framework\" in sys.prefix.lower() else \"TRUE\")")