1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

x11/leechcraft: unbreak with hunspell 1.5

-- Could NOT find HUNSPELL (missing:  HUNSPELL_LIBRARIES)
[...]
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HUNSPELL_LIBRARIES (ADVANCED)
    linked by target "leechcraft_rosenthal" in directory src/plugins/rosenthal

PR:		214837
Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2016-11-26 12:30:04 +00:00
parent b0ba04e7f4
commit 1283bae21b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427160

View File

@ -0,0 +1,12 @@
--- plugins/rosenthal/cmake/FindHunspell.cmake.orig 2014-07-28 18:35:44 UTC
+++ plugins/rosenthal/cmake/FindHunspell.cmake
@@ -28,7 +28,8 @@ if (WIN32)
${HUNSPELL_DIR}/src/win_api/Release_dll/libhunspell)
endif ()
-find_library (HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 libhunspell HINTS ${HUNSPELL_DIR} ${PROBE_DIR})
+find_library (HUNSPELL_LIBRARIES NAMES hunspell-1.5 hunspell-1.4
+ hunspell-1.3 hunspell-1.2 libhunspell HINTS ${HUNSPELL_DIR} ${PROBE_DIR})
find_path (HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx HINTS ${HUNSPELL_DIR} ${HUNSPELL_INCLUDE_WIN32})
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if