components/gpgme/patches/000-gpgme-config.in.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 4296 f17a315fb096
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

# Internal patch.
# GpgME can't find /usr/bin/gpg2 and /usr/bin/gpgsm,
# which are needed by gpgme-config. So, we have to find
# them instead.
# Not for upstream because they should fix this.
--- src/gpgme-config.in	2013-03-15 12:27:33.000000000 -0700
+++ src/gpgme-config.in	2015-05-14 12:28:27.296390126 -0700
@@ -179,10 +179,10 @@
 	    fi
 	    ;;
         --get-gpg)
-            output="$output @GPG@"
+            output="$output /usr/bin/gpg2"
             ;;
         --get-gpgsm)
-            output="$output @GPGSM@"
+            output="$output /usr/bin/gpgsm"
             ;;
 	*)
             usage 1 1>&2