summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-12-29 21:54:59 +0100
committerMichael Palimaka <kensington@gentoo.org>2015-12-30 23:18:06 +1100
commit07abe915900c7a3d352261354f96cd5800e0c42e (patch)
tree0b5d2509a6e7e068c473defdb798a0ac0b9571d7 /net-libs/libkvkontakte
parentdev-vcs/kdesvn: Fix configure, bug 559638 (diff)
downloadgentoo-07abe915900c7a3d352261354f96cd5800e0c42e.tar.gz
gentoo-07abe915900c7a3d352261354f96cd5800e0c42e.tar.bz2
gentoo-07abe915900c7a3d352261354f96cd5800e0c42e.zip
net-libs/libkvkontakte: Fix configure, bug 558512
Solution taken from Slackware. Package-Manager: portage-2.2.24
Diffstat (limited to 'net-libs/libkvkontakte')
-rw-r--r--net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch9
-rw-r--r--net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild2
2 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch b/net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch
new file mode 100644
index 000000000000..c11108d33c5f
--- /dev/null
+++ b/net-libs/libkvkontakte/files/libkvkontakte-4.12.0-cmake.patch
@@ -0,0 +1,9 @@
+--- a/CMakeLists.txt 2015-06-28 16:54:32.000000000 +0200
++++ b/CMakeLists.txt 2015-12-29 21:47:15.485256424 +0100
+@@ -1,4 +1,6 @@
+ cmake_minimum_required(VERSION 2.8.12)
++cmake_policy(SET CMP0022 OLD)
++cmake_policy(SET CMP0059 OLD)
+ project(kvkontakte)
+
+ # the version number, needed for
diff --git a/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild b/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild
index b7c8a0ad134c..a6e891b664c9 100644
--- a/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild
+++ b/net-libs/libkvkontakte/libkvkontakte-4.12.0.ebuild
@@ -22,3 +22,5 @@ RDEPEND="${DEPEND}"
# accessing network
RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )