From dd9527dbb15fe1e0ce021c787054593bf19af822 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Mon, 13 Jun 2016 12:34:45 +0000 Subject: 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(+) create mode 100644 sys-process/memwatch/memwatch-0.3.0-r1.ebuild (limited to 'sys-process') 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 000000000000..804b28eaef3d --- /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 +} -- cgit v1.2.3-65-gdbad