Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmtimer/
Date: Thu, 27 Feb 2020 10:44:36
Message-Id: 1582800243.ac993250831f3504dec7a3260905714f367e24a7.voyageur@gentoo
1 commit: ac993250831f3504dec7a3260905714f367e24a7
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 27 10:40:01 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 27 10:44:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac993250
7
8 x11-plugins/wmtimer: replace ":" as sed delimiter
9
10 Closes: https://bugs.gentoo.org/710810
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild | 8 ++++----
15 1 file changed, 4 insertions(+), 4 deletions(-)
16
17 diff --git a/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild b/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
18 index f3fb9ab0ea2..bcf6d63c094 100644
19 --- a/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
20 +++ b/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
21 @@ -24,10 +24,10 @@ DEPEND="${RDEPEND}
22 S=${WORKDIR}/${P}/${PN}
23
24 src_prepare() {
25 - sed -i -e "s:\$(CFLAGS)::" Makefile || die
26 - sed -i -e "s:-g::g" Makefile || die
27 - sed -i -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" Makefile || die
28 - sed -i -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" Makefile || die
29 + sed -i -e "s|\$(CFLAGS)||" Makefile || die
30 + sed -i -e "s|-g||g" Makefile || die
31 + sed -i -e "s|-O2|\$(CFLAGS) ${CFLAGS}|" Makefile || die
32 + sed -i -e "s|-o wmtimer|\$(LDFLAGS) -o wmtimer|" Makefile || die
33
34 cd "${WORKDIR}"/${P} || die
35 eapply "${FILESDIR}"/${P}-counter-fix.patch