summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-02-27 11:40:01 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-02-27 11:44:03 +0100
commitac993250831f3504dec7a3260905714f367e24a7 (patch)
treef6c653f03a95bc89fd516d56b75b62521a14b230 /x11-plugins/wmtimer
parentx11-misc/grsync: fix build with -fno-common (diff)
downloadgentoo-ac993250831f3504dec7a3260905714f367e24a7.tar.gz
gentoo-ac993250831f3504dec7a3260905714f367e24a7.tar.bz2
gentoo-ac993250831f3504dec7a3260905714f367e24a7.zip
x11-plugins/wmtimer: replace ":" as sed delimiter
Closes: https://bugs.gentoo.org/710810 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmtimer')
-rw-r--r--x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild b/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
index f3fb9ab0ea23..bcf6d63c094c 100644
--- a/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
+++ b/x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
@@ -24,10 +24,10 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}/${PN}
src_prepare() {
- sed -i -e "s:\$(CFLAGS)::" Makefile || die
- sed -i -e "s:-g::g" Makefile || die
- sed -i -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" Makefile || die
- sed -i -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" Makefile || die
+ sed -i -e "s|\$(CFLAGS)||" Makefile || die
+ sed -i -e "s|-g||g" Makefile || die
+ sed -i -e "s|-O2|\$(CFLAGS) ${CFLAGS}|" Makefile || die
+ sed -i -e "s|-o wmtimer|\$(LDFLAGS) -o wmtimer|" Makefile || die
cd "${WORKDIR}"/${P} || die
eapply "${FILESDIR}"/${P}-counter-fix.patch