app-crypt/gnupg: apply same compile for to 2.1 as for 2.0, bug #577254
authorFabian Groffen <grobian@gentoo.org>
Thu, 31 Mar 2016 13:48:54 +0000 (15:48 +0200)
committerFabian Groffen <grobian@gentoo.org>
Thu, 31 Mar 2016 13:53:13 +0000 (15:53 +0200)
Package-Manager: portage-2.2.27

app-crypt/gnupg/gnupg-2.1.11-r1.ebuild

index f902135e60fa9b0bcf34ddcb6d3519855ef77fa0..a37e3adcb4203148f9a8da84efc9bc237f4c7c3d 100644 (file)
@@ -88,7 +88,8 @@ 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}" \