mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
sys-devel/bin86: Don't use colons as sed delimiter
Closes: https://bugs.gentoo.org/710340 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
@@ -17,11 +17,11 @@ IUSE=""
|
||||
src_prepare() {
|
||||
use elibc_musl && CPPFLAGS="${CPPFLAGS} -U__linux__"
|
||||
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
|
||||
eapply_user
|
||||
|
||||
Reference in New Issue
Block a user