aboutsummaryrefslogtreecommitdiff
path: root/textproc/kf5-sonnet
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/kf5-sonnet')
-rw-r--r--textproc/kf5-sonnet/Makefile4
-rw-r--r--textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake11
2 files changed, 13 insertions, 2 deletions
diff --git a/textproc/kf5-sonnet/Makefile b/textproc/kf5-sonnet/Makefile
index fd0a30ea34d0..056af56f96dd 100644
--- a/textproc/kf5-sonnet/Makefile
+++ b/textproc/kf5-sonnet/Makefile
@@ -2,14 +2,14 @@
PORTNAME= sonnet
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc kde kde-frameworks
MAINTAINER= kde@FreeBSD.org
COMMENT= KF5 plugin-based spell checking library
LIB_DEPENDS= libaspell.so:textproc/aspell \
- libhunspell-1.6.so:textproc/hunspell
+ libhunspell-1.7.so:textproc/hunspell
USES= cmake compiler:c++11-lib kde:5 qt:5 tar:xz
USE_KDE= ecm
diff --git a/textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake b/textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake
new file mode 100644
index 000000000000..8688085984ee
--- /dev/null
+++ b/textproc/kf5-sonnet/files/patch-cmake_FindHUNSPELL.cmake
@@ -0,0 +1,11 @@
+--- cmake/FindHUNSPELL.cmake.orig 2019-01-06 20:29:23 UTC
++++ cmake/FindHUNSPELL.cmake
+@@ -40,7 +40,7 @@ find_path(HUNSPELL_INCLUDE_DIRS
+ HINTS ${PKG_HUNSPELL_INCLUDE_DIRS}
+ )
+ find_library(HUNSPELL_LIBRARIES
+- NAMES ${PKG_HUNSPELL_LIBRARIES} hunspell hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 libhunspell
++ NAMES ${PKG_HUNSPELL_LIBRARIES} hunspell hunspell-1.7 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 libhunspell
+ HINTS ${PKG_HUNSPELL_LIBRARY_DIRS}
+ )
+