summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
index e041e858c76c..4c17078b18ae 100644
--- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
+++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -46,7 +46,7 @@ src_prepare() {
# Fix portability issues.
sed -i \
- -e 's:echo -n:printf %s:' \
+ -e 's/echo -n/printf %s/' \
configure || die
default
}
@@ -58,9 +58,9 @@ src_configure() {
./configure --prefix=/usr || die
sed -i \
- -e "s:-pipe -O2:${CFLAGS}:" \
- -e "s:^\(LDFLAGS=\).*:\1${LDFLAGS}:" \
- -e "s:-Wpointer-arith::" \
+ -e "s/-pipe -O2/${CFLAGS}/" \
+ -e "s/^\(LDFLAGS=\).*/\1${LDFLAGS}/" \
+ -e "s/-Wpointer-arith//" \
MCONFIG || die
}