summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-12-27 20:53:01 +0100
committerFabian Groffen <grobian@gentoo.org>2017-12-27 20:53:11 +0100
commit3dca5452e3ccca4ff18d7a806f82cc32cd84ad35 (patch)
treee4447158818e371a503a3a5dfe308bddb9be8f36 /dev-libs/libxslt
parentmedia-libs/mesa: Bind LLVM deps to <4 (= slot 0) in 17.1.10 (diff)
downloadgentoo-3dca5452e3ccca4ff18d7a806f82cc32cd84ad35.tar.gz
gentoo-3dca5452e3ccca4ff18d7a806f82cc32cd84ad35.tar.bz2
gentoo-3dca5452e3ccca4ff18d7a806f82cc32cd84ad35.zip
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
Diffstat (limited to 'dev-libs/libxslt')
-rw-r--r--dev-libs/libxslt/libxslt-1.1.30-r2.ebuild6
1 files 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 13a3fe82942c..f303699289ba 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