summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-11 06:31:12 +0000
committerSam James <sam@gentoo.org>2023-11-11 06:31:12 +0000
commit36ebed561d63bb5c928149341f958cc9ad8378a7 (patch)
treee04c4813145926ffbe5cf86d9cb03741933685f8 /net-misc/l7-protocols
parentsys-kernel/installkernel-systemd: drop attempt to emulate USE flag renames (diff)
downloadgentoo-36ebed561d63bb5c928149341f958cc9ad8378a7.tar.gz
gentoo-36ebed561d63bb5c928149341f958cc9ad8378a7.tar.bz2
gentoo-36ebed561d63bb5c928149341f958cc9ad8378a7.zip
net-misc/l7-protocols: fix broken sed
Seems to just be used for tests so no revbump, not that I really looked into the package. Closes: https://bugs.gentoo.org/917152 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/l7-protocols')
-rw-r--r--net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
index 8fae2ce8e5f2..5dcd7cb600b7 100644
--- a/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
+++ b/net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,10 +18,10 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
src_prepare() {
- sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|" \
+ sed -i -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|" \
-e "s|g++.*\-o|$(tc-getCXX) ${CFLAGS} ${LDFLAGS} -o|" \
- -i testing/Makefile || die
- sed -e "s|f in data|f in ${EPREFIX}/usr/share/l7-protocols/data|" \
+ testing/Makefile || die
+ sed -i -e "s|f in data|f in ${EPREFIX}/usr/share/l7-protocols/data|" \
testing/timeit.sh || die
ht_fix_file testing/*.sh
eapply_user