Skip to content

Commit

Permalink
app-crypt/gnupg: fix remaining ebuilds building with Clang
Browse files Browse the repository at this point in the history
Gentoo-Bug: https://bugs.gentoo.org/458154

Reviewed-by: Robin H. Johnson <[email protected]>

Package-Manager: portage-2.2.28
  • Loading branch information
austin987 committed Jun 22, 2016
1 parent 21f26a0 commit 9807798
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion app-crypt/gnupg/gnupg-2.0.26-r3.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions app-crypt/gnupg/gnupg-2.0.28.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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}" \
Expand Down

0 comments on commit 9807798

Please sign in to comment.