pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/notmuch



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Mar 25 11:06:19 UTC 2020

Modified Files:
        pkgsrc/mail/notmuch: Makefile distinfo
        pkgsrc/mail/notmuch/patches: patch-configure

Log Message:
notmuch: Reuse GPGME_GPG variable rather than inventing our own.

Not only cleaner, but also fixes a build issue seen on macOS likely related to
variable definition ordering, where GPG was not set correctly and ended up
trying to use a non-existent "gpg" command.  This change has the added benefit
of using the full path to the gpg binary instead of relying on PATH.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/mail/notmuch/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/mail/notmuch/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/notmuch/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/notmuch/Makefile
diff -u pkgsrc/mail/notmuch/Makefile:1.56 pkgsrc/mail/notmuch/Makefile:1.57
--- pkgsrc/mail/notmuch/Makefile:1.56   Sun Mar  8 16:47:54 2020
+++ pkgsrc/mail/notmuch/Makefile        Wed Mar 25 11:06:19 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2020/03/08 16:47:54 wiz Exp $
+# $NetBSD: Makefile,v 1.57 2020/03/25 11:06:19 jperkin Exp $
 
 DISTNAME=      notmuch-0.29.3
 PKGREVISION=   1
@@ -38,17 +38,11 @@ SUBST_FILES.sphinx+=        bindings/python/doc
 SUBST_STAGE.sphinx=    pre-configure
 SUBST_MESSAGE.sphinx=  Fix sphinx command names.
 
-.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2)
-GPG=   gpg2
-.else
-GPG=   gpg
-.endif
-
 SUBST_CLASSES+=                gpg
 SUBST_STAGE.gpg=       pre-configure
 SUBST_MESSAGE.gpg=     Select GnuPG command
 SUBST_FILES.gpg+=      configure
-SUBST_VARS.gpg=                GPG
+SUBST_VARS.gpg=                GPGME_GPG
 
 LDFLAGS.SunOS+=        -lnsl
 

Index: pkgsrc/mail/notmuch/distinfo
diff -u pkgsrc/mail/notmuch/distinfo:1.43 pkgsrc/mail/notmuch/distinfo:1.44
--- pkgsrc/mail/notmuch/distinfo:1.43   Wed Nov 27 13:30:53 2019
+++ pkgsrc/mail/notmuch/distinfo        Wed Mar 25 11:06:19 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.43 2019/11/27 13:30:53 ryoon Exp $
+$NetBSD: distinfo,v 1.44 2020/03/25 11:06:19 jperkin Exp $
 
 SHA1 (notmuch-0.29.3.tar.xz) = f1cdf4d50d344ca67df182ad1e3109988e8c80e8
 RMD160 (notmuch-0.29.3.tar.xz) = e935fa029a83b9f7019547e6272c68224b04b0b2
@@ -6,6 +6,6 @@ SHA512 (notmuch-0.29.3.tar.xz) = b1e0b47
 Size (notmuch-0.29.3.tar.xz) = 660536 bytes
 SHA1 (patch-Makefile.global) = f436bdb163e3110a8d097f3c88198aefb126eafc
 SHA1 (patch-Makefile.local) = d0a83ff130de36164f1667236860aa31d481d025
-SHA1 (patch-configure) = afbc37cdf886c6b73be4c34903d495cf0589963a
+SHA1 (patch-configure) = fb498d8ca9d74be5e9c46625f0943fbbedee3dcb
 SHA1 (patch-doc_conf.py) = 7492c878c96da68df16827aa0d6407c2e9808701
 SHA1 (patch-emacs_Makefile.local) = 4a36a2c165852a098a45c8b99c8372d65d33b07c

Index: pkgsrc/mail/notmuch/patches/patch-configure
diff -u pkgsrc/mail/notmuch/patches/patch-configure:1.1 pkgsrc/mail/notmuch/patches/patch-configure:1.2
--- pkgsrc/mail/notmuch/patches/patch-configure:1.1     Fri Jun  7 13:42:50 2019
+++ pkgsrc/mail/notmuch/patches/patch-configure Wed Mar 25 11:06:19 2020
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.1 2019/06/07 13:42:50 ryoon Exp $
+$NetBSD: patch-configure,v 1.2 2020/03/25 11:06:19 jperkin Exp $
 
 * Select GnuPG binary
 
@@ -9,7 +9,7 @@ $NetBSD: patch-configure,v 1.1 2019/06/0
          errors=$((errors + 1))
      elif ${CC} ${CFLAGS} ${gmime_cflags} _check_session_keys.c ${gmime_ldflags} -o _check_session_keys \
 -           && GNUPGHOME=${TEMP_GPG} gpg --batch --quiet --import < test/gnupg-secret-key.asc \
-+           && GNUPGHOME=${TEMP_GPG} @GPG@ --batch --quiet --import < test/gnupg-secret-key.asc \
++           && GNUPGHOME=${TEMP_GPG} @GPGME_GPG@ --batch --quiet --import < test/gnupg-secret-key.asc \
             && SESSION_KEY=$(GNUPGHOME=${TEMP_GPG} ./_check_session_keys) \
             && [ $SESSION_KEY = 9:0BACD64099D1468AB07C796F0C0AC4851948A658A15B34E803865E9FC635F2F5 ]
      then



Home | Main Index | Thread Index | Old Index