Created attachment 401090 [details] build.log GnuPG 2.1.3 has introduced a hard dependency on LDAP, resulting in failure if openldap is not present despite being configured with --without-ldap. Build log attached. Checking with upstream whether this is intentional and looking if it is an easy fix using ifdef enclosures.
I had seen that already a few days ago in gnupg's git and reported it to the upstream bugtracker: https://bugs.g10code.com/gnupg/issue1949
Upstream fix: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=5cde5bf37339cdeb0bd0a33d39477382eafebede
+ 13 Apr 2015; Kristian Fiskerstrand <k_f@gentoo.org> + +files/gnupg-2.1.3-dirmngr-no-ldap.patch, gnupg-2.1.3.ebuild: + Fix build when ldap useflag is not set, bug #546348 + Please re-open if the issue persists