I'm not sure if this needs to be fixed in gpgme or gnupg (or it's an upstream bug), but when trying to update gpgme to 1.5.0 the build failed here:
> Making all in gpgsm
> gmake: Entering directory `/usr/ports/security/gpgme/work/gpgme-1.5.0/tests/gpgsm'
> mv -f .deps/t-genkey.Tpo .deps/t-genkey.Po
> gpgsm --import ./cert_g10code_test1.der
> gmake: gpgsm: Command not found
> gmake: *** [pubring.kbx] Error 127
> gmake: *** Waiting for unfinished jobs....
I do not have security/gnupg1 installed, and have built security/gnupg with the GPGSM option off.
A commit references this bug:
Date: Sun Jun 22 09:43:39 UTC 2014
New revision: 358776
- Fix build if gpgsm is not installed
Submitted by: rakuco
Fixed in r358776. Thanks!