commit:     67fa138e34ed1681e009c4e8ab99b017ae57afe5
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 12:42:30 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 12:43:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fa138e

sys-apps/help2man: fix installation on Darwin

Package-Manager: portage-2.2.20-prefix

 sys-apps/help2man/help2man-1.47.3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-apps/help2man/help2man-1.47.3.ebuild 
b/sys-apps/help2man/help2man-1.47.3.ebuild
index c9efdba..9cdd157 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
 }

Reply via email to