diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-11-27 11:41:48 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-11-27 11:47:29 +0100 |
commit | 68b4cf5165984f54c02e6bcec103cd3c3a3eb9bd (patch) | |
tree | a7c666ac6eb16ea49bb90de50427640015ca3899 /net-libs/gnutls | |
parent | app-portage/nattka: Bump to 0.2.11 (diff) | |
download | gentoo-68b4cf5165984f54c02e6bcec103cd3c3a3eb9bd.tar.gz gentoo-68b4cf5165984f54c02e6bcec103cd3c3a3eb9bd.tar.bz2 gentoo-68b4cf5165984f54c02e6bcec103cd3c3a3eb9bd.zip |
net-libs/gnutls-3.6.15: add compilation fix for macOS
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r-- | net-libs/gnutls/gnutls-3.6.15.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net-libs/gnutls/gnutls-3.6.15.ebuild b/net-libs/gnutls/gnutls-3.6.15.ebuild index 5fabb1a30dc5..b0da1cec679a 100644 --- a/net-libs/gnutls/gnutls-3.6.15.ebuild +++ b/net-libs/gnutls/gnutls-3.6.15.ebuild @@ -74,6 +74,11 @@ src_prepare() { rm src/$(basename ${file} .c).{c,h} || die done + # don't try to use system certificate store on macOS, it is + # confusingly ignoring our ca-certificates and more importantly + # fails to compile in certain configurations + sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die + # Use sane .so versioning on FreeBSD. elibtoolize } |