x11-plugins/wmtimer: replace ":" as sed delimiter
authorBernard Cafarelli <voyageur@gentoo.org>
Thu, 27 Feb 2020 10:40:01 +0000 (11:40 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Thu, 27 Feb 2020 10:44:03 +0000 (11:44 +0100)
Closes: https://bugs.gentoo.org/710810
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild

index f3fb9ab0ea23e0443c3a4d8dc6945f718314362c..bcf6d63c094c92f1e09b91ec042a32b1eefb38fb 100644 (file)
@@ -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