diff options
author | 2018-03-19 15:24:26 +0100 | |
---|---|---|
committer | 2018-03-19 15:24:26 +0100 | |
commit | b3fa78fce756ce172c4568aefd2bc08dcf5221dc (patch) | |
tree | 77346c4aa4c137d136ea11981437ef3b56c7f6fc /sys-apps/coreutils/coreutils-8.29.ebuild | |
parent | scripts/bootstrap-prefix: ensure we set helper vars after setting ROOT (diff) | |
download | prefix-b3fa78fce756ce172c4568aefd2bc08dcf5221dc.tar.gz prefix-b3fa78fce756ce172c4568aefd2bc08dcf5221dc.tar.bz2 prefix-b3fa78fce756ce172c4568aefd2bc08dcf5221dc.zip |
sys-apps/coreutils: fix linking on ppc-macos
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6
Diffstat (limited to 'sys-apps/coreutils/coreutils-8.29.ebuild')
-rw-r--r-- | sys-apps/coreutils/coreutils-8.29.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild index 2a152c1656..6c8a9c89a4 100644 --- a/sys-apps/coreutils/coreutils-8.29.ebuild +++ b/sys-apps/coreutils/coreutils-8.29.ebuild @@ -69,6 +69,14 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-8.22-mint.patch # 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 + fi sed -i \ -e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \ Makefile.in \ |