aboutsummaryrefslogtreecommitdiff
path: root/textproc/kf5-sonnet
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-01-18 21:14:41 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-01-18 21:14:41 +0000
commit91ea5c3247ec607f48809a35593bf5580ed7d455 (patch)
treef9b29d3f811865ffb154be8b5af915119e00ed23 /textproc/kf5-sonnet
parente44ca037001bbbd183d7bc64c183909da88a3d7d (diff)
downloadports-91ea5c3247ec607f48809a35593bf5580ed7d455.tar.gz
ports-91ea5c3247ec607f48809a35593bf5580ed7d455.zip
textproc/hunspell: update to 1.7.0
- Drop const optimization as v2 API moved to nuspell Changes: https://github.com/hunspell/hunspell/releases/tag/v1.7.0
Notes
Notes: svn path=/head/; revision=490671
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}
+ )
+