Created attachment 768547 [details, diff] Patch current stable GnuPG ebuild to search for sendmail binary. At least GnuPG's WKS server requires a working sendmail binary to send automated mails. GnuPG's configure script searches for sendmail in its usual locations, /usr/sbin, /usr/libexec and /usr/lib. Postfix, f.ex. installs its sendmail binary in /usr/sbin, thus the path should be searched for and not hardcoded. The current GnuPG ebuild hardcodes sendmail's path to /usr/libexec/sendmail which does not work with a regular postfix installation, which uses /usr/sbin/sendmail. Matching the ebuild's requirement for the installation of virtual/mta if and only if the wks-server USE flag is enabled, the attached patch changes the ebuild to enable/disable searching for sendmail depending on the wks-server USE flag, yet leaves figuring out the actual path of the sendmail binary to GnuPG's configure script.