summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-03-24 07:57:12 -0500
committerBen Kohler <bkohler@gentoo.org>2020-03-24 08:31:34 -0500
commitb1338de13c1a7d5930cdec493c004bcf05ae2a5f (patch)
treeb18526ca103502d328e2ce4df7a3396ff33287d2 /app-shells
parentsys-devel/dev86: fix bad sed delimiter (diff)
downloadgentoo-b1338de13c1a7d5930cdec493c004bcf05ae2a5f.tar.gz
gentoo-b1338de13c1a7d5930cdec493c004bcf05ae2a5f.tar.bz2
gentoo-b1338de13c1a7d5930cdec493c004bcf05ae2a5f.zip
app-shells/smrsh: fix bad sed delimiter
Closes: https://bugs.gentoo.org/710898 Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/smrsh/smrsh-8.15.2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-shells/smrsh/smrsh-8.15.2.ebuild b/app-shells/smrsh/smrsh-8.15.2.ebuild
index a3333b5cad3..5679f879ea9 100644
--- a/app-shells/smrsh/smrsh-8.15.2.ebuild
+++ b/app-shells/smrsh/smrsh-8.15.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,8 +26,8 @@ src_prepare() {
-e "s:/usr/adm/sm.bin:/var/lib/smrsh:g" \
-i README -i smrsh.8 || die "sed failed"
- sed -e "s:@@confCCOPTS@@:${CFLAGS}:" \
- -e "s:@@confLDOPTS@@:${LDFLAGS}:" \
+ sed -e "s|@@confCCOPTS@@|${CFLAGS}|" \
+ -e "s|@@confLDOPTS@@|${LDFLAGS}|" \
-e "s:@@confCC@@:$(tc-getCC):" "${FILESDIR}/site.config.m4" \
> "${S}/devtools/Site/site.config.m4" || die "sed failed"
}