net-misc/netpipe: fix bad sed delimiter

Closes: https://bugs.gentoo.org/710710
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2020-03-24 08:04:32 -05:00
parent 35588d4610
commit 8ffed252e4
No known key found for this signature in database
GPG Key ID: 7A85BDA4D57605C7

View File

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -18,8 +18,8 @@ S="${WORKDIR}/${PN}"
src_prepare() {
sed -i \
-e "s:^OPT=.*:OPT = ${CFLAGS} ${LDFLAGS}:" \
-e "s:^CC=.*:CC = $(tc-getCC):" \
-e "s|^OPT=.*|OPT = ${CFLAGS} ${LDFLAGS}|" \
-e "s|^CC=.*|CC = $(tc-getCC)|" \
Makefile || die "sed failed"
default
}