From: Jeroen Roovers Date: Sun, 17 May 2020 13:38:49 +0000 (+0200) Subject: x11-wm/wmfs: Respect CFLAGS/LDFLAGS, fix man page X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49b49044d1390ca4f3bdf1558917aa775a12581b;p=gentoo.git x11-wm/wmfs: Respect CFLAGS/LDFLAGS, fix man page Package-Manager: Portage-2.3.99, Repoman-2.3.22 Bug: https://bugs.gentoo.org/706654 Signed-off-by: Jeroen Roovers --- diff --git a/x11-wm/wmfs/wmfs-201003.ebuild b/x11-wm/wmfs/wmfs-201003.ebuild index 14da5d0b9158..27bdfa3ef564 100644 --- a/x11-wm/wmfs/wmfs-201003.ebuild +++ b/x11-wm/wmfs/wmfs-201003.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit cmake-utils eutils +EAPI=7 +inherit cmake DESCRIPTION="Window Manager From Scratch, A tiling window manager highly configurable" HOMEPAGE="https://github.com/xorg62/wmfs" @@ -31,8 +31,17 @@ PATCHES=( "${FILESDIR}"/${PN}-201003-pthread.patch ) +src_prepare() { + cmake_src_prepare + sed -i \ + -e '/set(CFLAGS/d' \ + -e '/set(LDFLAGS/s#)# ${LDFLAGS}&#' \ + CMakeLists.txt || die +} + src_install() { - cmake-utils_src_install + cmake_src_install rm -r "${D}"/usr/share/${PN} + find "${D}"/usr/share/man -name '*.gz' -exec gunzip {} \; || die dodoc README TODO rc/status.sh }