openbsd-ports/geo/qgis/patches/patch-cmake_FindGDAL_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
608 B
Plaintext

$OpenBSD: patch-cmake_FindGDAL_cmake,v 1.3 2011/07/07 20:34:27 landry Exp $
--- cmake/FindGDAL.cmake.orig Sun Jun 5 13:59:48 2011
+++ cmake/FindGDAL.cmake Mon Jun 27 16:05:21 2011
@@ -154,7 +154,7 @@ ELSE(WIN32)
SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.dylib CACHE STRING INTERNAL FORCE)
ENDIF (NOT GDAL_LIBRARY)
ELSE (APPLE)
- SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.so CACHE STRING INTERNAL)
+ FIND_LIBRARY(GDAL_LIBRARY NAMES gdal PATHS ${LOCALBASE}/lib)
ENDIF (APPLE)
ELSE(GDAL_CONFIG)