summaryrefslogtreecommitdiff
path: root/sys-devel/bin86/bin86-0.16.20-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/bin86/bin86-0.16.20-r2.ebuild')
-rw-r--r--sys-devel/bin86/bin86-0.16.20-r2.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-devel/bin86/bin86-0.16.20-r2.ebuild b/sys-devel/bin86/bin86-0.16.20-r2.ebuild
index 9e0088919ee0..ae8685567e43 100644
--- a/sys-devel/bin86/bin86-0.16.20-r2.ebuild
+++ b/sys-devel/bin86/bin86-0.16.20-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -17,11 +17,11 @@ IUSE=""
src_prepare() {
sed -i \
- -e '/^PREFIX/s:=.*:=$(DESTDIR)/usr:' \
- -e '/^MANDIR/s:)/man/man1:)/share/man/man1:' \
- -e '/^INSTALL_OPTS/s:-s::' \
- -e "/^CFLAGS/s:=.*:=${CFLAGS} -D_POSIX_SOURCE ${CPPFLAGS}:" \
- -e "/^LDFLAGS/s:=.*:=${LDFLAGS}:" \
+ -e '/^PREFIX/s|=.*|=$(DESTDIR)/usr|' \
+ -e '/^MANDIR/s|)/man/man1|)/share/man/man1|' \
+ -e '/^INSTALL_OPTS/s|-s||' \
+ -e "/^CFLAGS/s|=.*|=${CFLAGS} -D_POSIX_SOURCE ${CPPFLAGS}|" \
+ -e "/^LDFLAGS/s|=.*|=${LDFLAGS}|" \
Makefile || die
epatch "${FILESDIR}"/${PN}-0.16.17-amd64-build.patch \
"${DISTDIR}"/${P}-fix_lilo_build.patch