openbsd-ports/geo/gdal/patches/patch-swig_python_setup_py
landry eaa39b5170 Update to GDAL/OGR 1.6.0 :
- enable python bindings and utilities
- split package into -main and -python
- enable support for WMS/WFS through curl
- enable geos support
- enable postgis support through postgresql-client
(all this is needed by bigger incoming GIS ports)
looks good to pval@ (maintainer)
2009-03-13 08:56:52 +00:00

13 lines
453 B
Plaintext

$OpenBSD: patch-swig_python_setup_py,v 1.1 2009/03/13 08:56:53 landry Exp $
--- swig/python/setup.py.orig Mon Feb 23 10:21:13 2009
+++ swig/python/setup.py Mon Feb 23 10:21:27 2009
@@ -135,7 +135,7 @@ class gdal_ext(build_ext):
gdal_version = '1.6.0'
-extra_link_args = []
+extra_link_args = ['-fPIC']
extra_compile_args = []
# might need to tweak for Python 2.4 on OSX to be these
#extra_compile_args = ['-g', '-arch', 'i386', '-isysroot','/']