app-crypt/gnupg: fix remaining ebuilds building with Clang
authorAustin English <wizardedit@gentoo.org>
Tue, 21 Jun 2016 23:58:51 +0000 (18:58 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 22 Jun 2016 17:40:37 +0000 (12:40 -0500)
Gentoo-Bug: https://bugs.gentoo.org/458154

Reviewed-by: Robin H. Johnson <robbat2@gentoo.org>
Package-Manager: portage-2.2.28

app-crypt/gnupg/gnupg-2.0.26-r3.ebuild
app-crypt/gnupg/gnupg-2.0.28.ebuild

index 055584d032f57e7d64912eca78e943edd4b95811..61372d98c7d8b47d7de04a1ff38484e36ff063f0 100644 (file)
@@ -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 \
index ffc5a301cc997372067140026d8b5fcf8ae6d6cb..1dac44f506bd4fbe42355630bc8397fbd89ce08c 100644 (file)
@@ -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}" \