summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-01-05 21:29:48 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-01-05 21:30:35 +0100
commita231f86302b22cca69431a2cddbc34cea6802920 (patch)
treed10aee4a9e3b7bae1bb80247036f6e23a1f596b9 /net-dialup
parentnet-analyzer/netdata: advertise net-analyzer/netdata-go-plugin (diff)
downloadgentoo-a231f86302b22cca69431a2cddbc34cea6802920.tar.gz
gentoo-a231f86302b22cca69431a2cddbc34cea6802920.tar.bz2
gentoo-a231f86302b22cca69431a2cddbc34cea6802920.zip
net-dialup/mgetty: fix tests to run on posix
Closes: https://bugs.gentoo.org/889744 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mgetty/mgetty-1.2.1-r4.ebuild5
1 files changed, 4 insertions, 1 deletions
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() {