commit:     dd9527dbb15fe1e0ce021c787054593bf19af822
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 12:34:45 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 12:36:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9527db

sys-process/memwatch: Remove default curses module.

The CMake curses module shipped with memwatch is buddy and prevents CMake from
performing a proper linking against ncurses. To work around this issue, remove
it so that CMake can find the correct ncurses library installed on the system
and link the resulting memwatch binary correctly against it.

Gentoo-Bug: https://bugs.gentoo.org/585802

Package-Manager: portage-2.2.28

 sys-process/memwatch/memwatch-0.3.0-r1.ebuild | 33 +++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/sys-process/memwatch/memwatch-0.3.0-r1.ebuild 
b/sys-process/memwatch/memwatch-0.3.0-r1.ebuild
new file mode 100644
index 0000000..804b28e
--- /dev/null
+++ b/sys-process/memwatch/memwatch-0.3.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Interactive memory viewer"
+HOMEPAGE="https://unixdev.ru/memwatch";
+SRC_URI="http://unixdev.ru/src/${P}.tar.gz";
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+
+CMAKE_REMOVE_MODULES_LIST="FindCurses"
+
+src_configure() {
+       cmake-utils_src_configure
+}
+
+src_compile() {
+       cmake-utils_src_compile
+}
+
+src_install() {
+       cmake-utils_src_install
+}

Reply via email to