Skip to content

Commit

Permalink
x11-plugins/wmtimer: replace ":" as sed delimiter
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/710810
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <[email protected]>
  • Loading branch information
voyageur committed Feb 27, 2020
1 parent ac40df4 commit ac99325
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x11-plugins/wmtimer/wmtimer-2.92-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac99325

Please sign in to comment.