Ticket #21452: patch-shapely_geos.py

File patch-shapely_geos.py, 570 bytes (added by stromnov (Andrey Stromnov), 15 years ago)
Line 
1--- shapely/geos.py.orig        2009-09-17 19:01:35.000000000 +0400
2+++ shapely/geos.py     2009-09-17 19:02:28.000000000 +0400
3@@ -27,10 +27,10 @@
4     if lib is None:
5         ## try a few more locations
6         lib_paths = [
7+            # local macports
8+            '@PREFIX@/lib/libgeos_c.dylib',
9             # The Framework build from Kyng Chaos:
10             "/Library/Frameworks/GEOS.framework/Versions/Current/GEOS",
11-            # macports
12-            '/opt/local/lib/libgeos_c.dylib',
13         ]
14         for path in lib_paths:
15             if os.path.exists(path):