From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F5831382C5 for ; Sun, 17 May 2020 13:41:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51D53E0884; Sun, 17 May 2020 13:41:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38805E0884 for ; Sun, 17 May 2020 13:41:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CB0FB34F770 for ; Sun, 17 May 2020 13:41:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 346DB1EB for ; Sun, 17 May 2020 13:41:54 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1589722909.49b49044d1390ca4f3bdf1558917aa775a12581b.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/wmfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/wmfs/wmfs-201003.ebuild X-VCS-Directories: x11-wm/wmfs/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 49b49044d1390ca4f3bdf1558917aa775a12581b X-VCS-Branch: master Date: Sun, 17 May 2020 13:41:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1cbf791a-1966-4670-98a5-e1b93b4b1c08 X-Archives-Hash: 278f5fcf0ce28e0c7813248617d60f18 commit: 49b49044d1390ca4f3bdf1558917aa775a12581b Author: Jeroen Roovers gentoo org> AuthorDate: Sun May 17 13:38:49 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sun May 17 13:41:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b49044 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 gentoo.org> x11-wm/wmfs/wmfs-201003.ebuild | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/x11-wm/wmfs/wmfs-201003.ebuild b/x11-wm/wmfs/wmfs-201003.ebuild index 14da5d0b915..27bdfa3ef56 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 }