pkgsrc/security/gpgme/patches/patch-ai
jmmv 16239b2381 Let this build if gnupg 1.2.x is not installed (i.e., gnupg-devel exists).
A test program was trying to run 'gpg', bypassing the binary name given
through the --with-gpg flag to configure.

XXX This still has a chance to break.  If gnupg-devel is built w/o the
gpgsm option and gpgme is being built w/ it, no gpg binary will be found.
This is one of the those damages produced by build options...
2004-11-06 17:40:15 +00:00

13 lines
559 B
Text

$NetBSD: patch-ai,v 1.1 2004/11/06 17:40:15 jmmv Exp $
--- tests/gpg/Makefile.in.orig 2004-10-22 20:52:26.000000000 +0200
+++ tests/gpg/Makefile.in
@@ -732,7 +732,7 @@ all-local: ./pubring.gpg
$(GPG) --homedir . --allow-secret-key-import --import Alpha/Secret.gpg Zulu/Secret.gpg
./Alpha/Secret.gpg: secdemo.asc
- srcdir=$(srcdir) $(srcdir)/mkdemodirs
+ srcdir=$(srcdir) GPG=$(GPG) $(srcdir)/mkdemodirs
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: