commit:     36ebed561d63bb5c928149341f958cc9ad8378a7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 11 06:31:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 06:31:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ebed56

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 <AT> gentoo.org>

 net-misc/l7-protocols/l7-protocols-2009.05.28-r1.ebuild | 8 ++++----
 1 file 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

Reply via email to