commit:     3dca5452e3ccca4ff18d7a806f82cc32cd84ad35
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 19:53:01 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 19:53:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dca5452

dev-libs/libxslt: avoid glibc226 patch on Darwin, bug #642248

Closes: https://bugs.gentoo.org/642248
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-libs/libxslt/libxslt-1.1.30-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libxslt/libxslt-1.1.30-r2.ebuild 
b/dev-libs/libxslt/libxslt-1.1.30-r2.ebuild
index 13a3fe82942..f303699289b 100644
--- a/dev-libs/libxslt/libxslt-1.1.30-r2.ebuild
+++ b/dev-libs/libxslt/libxslt-1.1.30-r2.ebuild
@@ -15,7 +15,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux 
~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
-IUSE="crypt debug examples python static-libs"
+IUSE="crypt debug examples python static-libs elibc_Darwin"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
@@ -52,8 +52,8 @@ src_prepare() {
        # https://bugs.gentoo.org/630784
        eapply "${FILESDIR}"/1.1.30-unbreak-xslt-config.patch
 
-       # Fix build and headers with glibc-2.26, bug 632214
-       eapply "${FILESDIR}"/${PN}-1.1.30-glibc226.patch
+       # Fix build and headers with glibc-2.26, bug 632214, breaks Darwin
+       use elibc_Darwin || eapply "${FILESDIR}"/${PN}-1.1.30-glibc226.patch
 
        mv configure.{in,ac} || die
 

Reply via email to