summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-06-21 18:58:51 -0500
committerAustin English <wizardedit@gentoo.org>2016-06-22 12:40:37 -0500
commit9807798754677b625d90625fc5b8f4136a60e7eb (patch)
tree522a6cbe9aab939be6bf8426dde93e4b8e18c81f /app-crypt/gnupg
parentapp-emacs/yatex: Migrate from LINGUAS to L10N. (diff)
downloadgentoo-9807798754677b625d90625fc5b8f4136a60e7eb.tar.gz
gentoo-9807798754677b625d90625fc5b8f4136a60e7eb.tar.bz2
gentoo-9807798754677b625d90625fc5b8f4136a60e7eb.zip
app-crypt/gnupg: fix remaining ebuilds building with Clang
Gentoo-Bug: https://bugs.gentoo.org/458154 Reviewed-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: portage-2.2.28
Diffstat (limited to 'app-crypt/gnupg')
-rw-r--r--app-crypt/gnupg/gnupg-2.0.26-r3.ebuild5
-rw-r--r--app-crypt/gnupg/gnupg-2.0.28.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild b/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild
index 055584d032f5..61372d98c7d8 100644
--- a/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild
+++ b/app-crypt/gnupg/gnupg-2.0.26-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -85,6 +85,9 @@ src_configure() {
myconf+=( --enable-symcryptrun )
fi
+ # glib fails and picks up clang's internal stdint.h causing weird errors
+ [[ ${CC} == *clang ]] && export gl_cv_absolute_stdint_h=/usr/include/stdint.h
+
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
--enable-gpg \
diff --git a/app-crypt/gnupg/gnupg-2.0.28.ebuild b/app-crypt/gnupg/gnupg-2.0.28.ebuild
index ffc5a301cc99..1dac44f506bd 100644
--- a/app-crypt/gnupg/gnupg-2.0.28.ebuild
+++ b/app-crypt/gnupg/gnupg-2.0.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -84,7 +84,7 @@ src_configure() {
fi
# glib fails and picks up clang's internal stdint.h causing weird errors
- [[ ${CC} == clang ]] && export gl_cv_absolute_stdint_h=/usr/include/stdint.h
+ [[ ${CC} == *clang ]] && export gl_cv_absolute_stdint_h=/usr/include/stdint.h
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \