=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for php-gnupg/gnupg-1.5.0.tgz
=> Checksum RMD160 OK for php-gnupg/gnupg-1.5.0.tgz
=> Checksum SHA512 OK for php-gnupg/gnupg-1.5.0.tgz
===> Installing dependencies for php74-gnupg-1.5.0
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency automake>=1.9: found automake-1.16.4
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb1
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency pcre2>=10.30: found pcre2-10.37
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gnupg2>=2.2.0: found gnupg2-2.2.27nb2
=> Full dependency gpgme>=1.8.0nb1: found gpgme-1.15.1
=> Full dependency php>=7.4.16nb1<7.5: found php-7.4.26
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for php74-gnupg-1.5.0
===> Extracting for php74-gnupg-1.5.0
===> Patching for php74-gnupg-1.5.0
=> Applying pkgsrc patches for php74-gnupg-1.5.0
=> Verifying /tree/pkgsrc/security/php-gnupg/patches/patch-config.m4
=> Applying pkgsrc patch /tree/pkgsrc/security/php-gnupg/patches/patch-config.m4
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config.m4,v 1.2 2021/06/06 07:20:05 taca Exp $
|
|Recognize pkgsrc's ${PREFIX}.
|
|--- config.m4.orig	2021-04-10 20:05:04.000000000 +0000
|+++ config.m4
--------------------------
Patching file config.m4 using Plan A...
Hunk #1 succeeded at 14.
done
===> Creating toolchain wrappers for php74-gnupg-1.5.0
===> Configuring for php74-gnupg-1.5.0
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2110: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
=> Generating pkg-config files for builtin xz package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking pkg-config is at least version 0.9.0... yes
checking for i486--netbsdelf-cc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking target system type... i486--netbsdelf
checking for PHP prefix... /usr/pkg
checking for PHP includes... -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib
checking for PHP extension directory... /usr/pkg/lib/php/20191128
checking for PHP installed headers prefix... /usr/pkg/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking for gnupg support... yes, shared
checking for gnupg files in default path... found in /usr/pkg
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for gpgme_op_passwd in -lgpgme... no
configure: error: wrong gpgme lib version or lib not found (version >= 1.3 required)
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/security/php-gnupg
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/security/php-gnupg