aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdelibs4
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-11-26 20:32:02 +0800
committerjbeich <jbeich@FreeBSD.org>2016-11-26 20:32:02 +0800
commit368cd6402458b8fa505f2685462e4e8b6a6cc2ad (patch)
treeb740f48538f30122e18ef5c671ccd5cff8ff3fdd /x11/kdelibs4
parent8ad964a47d0eb691364c179c0590d1df3b7287dd (diff)
downloadfreebsd-ports-gnome-368cd6402458b8fa505f2685462e4e8b6a6cc2ad.tar.gz
freebsd-ports-gnome-368cd6402458b8fa505f2685462e4e8b6a6cc2ad.tar.zst
freebsd-ports-gnome-368cd6402458b8fa505f2685462e4e8b6a6cc2ad.zip
x11/kdelibs4: unbreak consumers with hunspell 1.5
$ make -C devel/lokalize [...] -- Could NOT find HUNSPELL (missing: HUNSPELL_LIBRARIES) CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find HUNSPELL (missing: HUNSPELL_LIBRARIES) Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/apps/cmake/modules/FindHUNSPELL.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) src/CMakeLists.txt:4 (find_package) PR: 214837 Approved by: portmgr blanket
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r--x11/kdelibs4/Makefile2
-rw-r--r--x11/kdelibs4/files/patch-cmake_modules_FindHUNSPELL.cmake11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index caaa09381984..c4d94eb0cd7d 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE4_KDELIBS_VERSION}
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= x11 kde
MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
diff --git a/x11/kdelibs4/files/patch-cmake_modules_FindHUNSPELL.cmake b/x11/kdelibs4/files/patch-cmake_modules_FindHUNSPELL.cmake
new file mode 100644
index 000000000000..ffde4c244b28
--- /dev/null
+++ b/x11/kdelibs4/files/patch-cmake_modules_FindHUNSPELL.cmake
@@ -0,0 +1,11 @@
+--- 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