openbsd-ports/geo/mapserver/patches/patch-CMakeLists_txt
landry 4115d9ff08 Bugfix update to mapserver 6.4.1.
Adapt README's for nginx, and provide an rc script using spawn-fcgi.
2014-05-18 09:29:50 +00:00

23 lines
708 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.3 2014/05/18 09:29:50 landry Exp $
Ensure it uses our FindIconv.cmake module
--- CMakeLists.txt.orig Thu Jan 2 13:41:49 2014
+++ CMakeLists.txt Sun May 18 11:11:18 2014
@@ -294,7 +294,7 @@ find_package(Freetype)
if(NOT FREETYPE_FOUND)
report_mandatory_not_found(FREETYPE)
endif(NOT FREETYPE_FOUND)
-include_directories(${FREETYPE_INCLUDE_DIR})
+include_directories(${FREETYPE_INCLUDE_DIRS})
ms_link_libraries( ${FREETYPE_LIBRARY})
@@ -356,7 +356,7 @@ if(WITH_FRIBIDI)
endif (WITH_FRIBIDI)
if(WITH_ICONV)
- find_package(ICONV)
+ find_package(Iconv)
if(ICONV_FOUND)
include_directories(${ICONV_INCLUDE_DIR})
ms_link_libraries( ${ICONV_LIBRARY})