commit:     a231f86302b22cca69431a2cddbc34cea6802920
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  5 20:29:48 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jan  5 20:30:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a231f863

net-dialup/mgetty: fix tests to run on posix

Closes: https://bugs.gentoo.org/889744
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-dialup/mgetty/mgetty-1.2.1-r4.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild 
b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
index 672f3198a356..13af2110daec 100644
--- a/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
+++ b/net-dialup/mgetty/mgetty-1.2.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -65,6 +65,9 @@ src_prepare() {
                -e 's:^CFLAGS=:CFLAGS+= -I..:g' \
                -e 's:^RANLIB=:RANLIB?=:g' \
                */Makefile || die
+
+       # Use POSIX compatible commands
+       sed -e 's/echo -e/printf %b/g' -i  Makefile || die
 }
 
 src_configure() {

Reply via email to