GnuPG 2.1.11 was recently added to the FreeBSD ports collection, in r409152. Deselecting the NLS option breaks the building of GnuPG.

[The NLS option is deselected. All other options except SUID_GPG remain at their default settings.]

The NLS option is deselected. All other options except SUID_GPG remain at their default settings.

[The build process is unable to complete due to the deselected NLS option.]

The build process is unable to complete due to the deselected NLS option.

For some reason the build process can’t locate the gcrypt.h header file nor the gpg-error.h header file. Both header files are stored in their usual location, i.e. /usr/local/include.

[The NLS option is again selected.]

The NLS option is again selected.

[Finally a successful build of GnuPG 2.1.11.]

Finally a successful build of GnuPG 2.1.11.

I suspect the breakage is due to changes made upstream. r409190 fixes this minor hickup.

I didn’t bother filing a PR for this bug nor did anyone else. My impression is that problems due to non-standard build options is frowned upon among the maintainers of the FreeBSD ports collection. That kind of attitude makes me a bit sad, but I can understand the overwhelming time and effort needed to test every possible combination.