public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/wmfs/
Date: Sun, 17 May 2020 13:41:54 +0000 (UTC)	[thread overview]
Message-ID: <1589722909.49b49044d1390ca4f3bdf1558917aa775a12581b.jer@gentoo> (raw)

commit:     49b49044d1390ca4f3bdf1558917aa775a12581b
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun May 17 13:38:49 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> 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 <jer <AT> 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
 }


             reply	other threads:[~2020-05-17 13:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 13:41 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-24  7:02 [gentoo-commits] repo/gentoo:master commit in: x11-wm/wmfs/ Joonas Niilola
2022-02-20  1:35 Sam James
2021-10-19 19:09 Jakov Smolić
2021-01-03  1:09 Andreas K. Hüttel
2020-09-26 10:31 Jeroen Roovers
2020-09-26 10:31 Jeroen Roovers
2020-01-13 10:07 David Seifert
2017-10-16  3:34 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589722909.49b49044d1390ca4f3bdf1558917aa775a12581b.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox