commit: 578a5b4f5715016adb421fbb274daefd9f80ff54
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 30 11:35:25 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 30 11:35:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=578a5b4f
sys-apps/coreutils: try and get 8.30 building on darwin9
Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
sys-apps/coreutils/coreutils-8.30.ebuild | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild
b/sys-apps/coreutils/coreutils-8.30.ebuild
index 7b19bd0c46..fb0b646972 100644
--- a/sys-apps/coreutils/coreutils-8.30.ebuild
+++ b/sys-apps/coreutils/coreutils-8.30.ebuild
@@ -70,6 +70,16 @@ src_prepare() {
# fixup libstdbuf non-libtool stuff
if [[ ${CHOST} == *-darwin* ]] ; then
+ if [[ ${CHOST} == *-darwin9* ]] ; then
+ # we need replacement libs from libcoreutils.a here in
order
+ # to finish the linking
+ sed -i \
+ -e "/src_libstdbuf_so_LDADD/s:$:
lib/libcoreutils.a:" \
+ Makefile.in \
+ || die
+ # and we need serial building :(
+ export MAKEOPTS+="-j1"
+ fi
sed -i \
-e "/src_libstdbuf_so_LDFLAGS =
-shared/s:-shared:-dynamiclib -install_name
${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
Makefile.in \