openbsd-ports/geo/qgis/patches/patch-cmake_FindGEOS_cmake
landry 27e085c511 Update to QuantumGIS 1.7.0, been using it for some weeks without issues.
Add a bunch of patches to install/access the doc in the correct dir.
see release notes for details :
http://www.qgis.org/en/component/content/article/127-qgis-1-7-release.html
With feedback from okan@, thanks !
2011-07-07 20:34:27 +00:00

13 lines
640 B
Plaintext

$OpenBSD: patch-cmake_FindGEOS_cmake,v 1.4 2011/07/07 20:34:27 landry Exp $
--- cmake/FindGEOS.cmake.orig Sun Jun 5 13:59:48 2011
+++ cmake/FindGEOS.cmake Mon Jun 27 16:05:42 2011
@@ -151,7 +151,7 @@ ELSE(WIN32)
SET(GEOS_LIBRARY ${GEOS_LINK_DIRECTORIES}/lib${GEOS_LIB_NAME}.dylib CACHE STRING INTERNAL FORCE)
ENDIF (NOT GEOS_LIBRARY)
ELSE (APPLE)
- SET(GEOS_LIBRARY ${GEOS_LINK_DIRECTORIES}/lib${GEOS_LIB_NAME}.so CACHE STRING INTERNAL)
+ FIND_LIBRARY(GEOS_LIBRARY NAMES geos_c PATHS ${LOCALBASE}/lib)
ENDIF (APPLE)
#MESSAGE("DBG GEOS_LIBRARY=${GEOS_LIBRARY}")