1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Replace the FindHUNSPELL.cmake from r214837 with kdelibs' upstream version

No need to bump PORTREVISION, this is mostly for renaming and indicating this
has already been fixed upstream.
This commit is contained in:
Raphael Kubo da Costa 2016-11-26 12:45:34 +00:00
parent d3375f0ca4
commit e53ab5e77e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427166
2 changed files with 19 additions and 11 deletions

View File

@ -1,11 +0,0 @@
--- cmake/modules/FindHUNSPELL.cmake.orig 2015-06-26 03:14:18 UTC
+++ cmake/modules/FindHUNSPELL.cmake
@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
# all listed variables are TRUE

View File

@ -0,0 +1,19 @@
commit 2ab2745eb01f73355c490ac8d5d1837dec84fd6c
Author: Wolfgang Bauer <wbauer@tmo.at>
Date: Thu Oct 20 15:51:29 2016 +0200
Support newer hunspell versions in FindHUNSPELL.cmake
REVIEW: 128600
--- cmake/modules/FindHUNSPELL.cmake
+++ cmake/modules/FindHUNSPELL.cmake
@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-2.0 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2)
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
# all listed variables are TRUE