From: Fabian Groffen Date: Thu, 14 Jan 2016 12:42:30 +0000 (+0100) Subject: sys-apps/help2man: fix installation on Darwin X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=67fa138e34ed1681e009c4e8ab99b017ae57afe5;p=gentoo.git sys-apps/help2man: fix installation on Darwin Package-Manager: portage-2.2.20-prefix --- diff --git a/sys-apps/help2man/help2man-1.47.3.ebuild b/sys-apps/help2man/help2man-1.47.3.ebuild index c9efdba10797..9cdd1574e300 100644 --- a/sys-apps/help2man/help2man-1.47.3.ebuild +++ b/sys-apps/help2man/help2man-1.47.3.ebuild @@ -21,6 +21,11 @@ DEPEND=${RDEPEND} DOCS="debian/changelog NEWS README THANKS" #385753 src_prepare() { + if [[ ${CHOST} == *-darwin* ]] ; then + sed -i \ + -e 's/-shared/-bundle/' \ + Makefile.in || die + fi epatch \ "${FILESDIR}"/${PN}-1.46.1-linguas.patch }