From 578a5b4f5715016adb421fbb274daefd9f80ff54 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 30 Dec 2018 12:35:25 +0100 Subject: 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 --- 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 \ -- cgit v1.2.3-65-gdbad