pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/pear-Crypt_GPG security/pear-Crypt_GPG: utili...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3ac1d69d817
branches:  trunk
changeset: 387637:c3ac1d69d817
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Nov 03 07:45:59 2022 +0000

description:
security/pear-Crypt_GPG: utilize REPLACE_PHP

Instead of using own REPLACE_INTERPRETER, use REPLACE_PHP.

diffstat:

 security/pear-Crypt_GPG/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r aad93f0b4643 -r c3ac1d69d817 security/pear-Crypt_GPG/Makefile
--- a/security/pear-Crypt_GPG/Makefile  Thu Nov 03 06:16:31 2022 +0000
+++ b/security/pear-Crypt_GPG/Makefile  Thu Nov 03 07:45:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/07/30 14:50:01 taca Exp $
+# $NetBSD: Makefile,v 1.13 2022/11/03 07:45:59 taca Exp $
 
 DISTNAME=      Crypt_GPG-1.6.7
 PKGREVISION=   1
@@ -11,11 +11,8 @@
 DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=${PHP_VERSION}:../../converters/php-mbstring
 DEPENDS+=      ${PHP_PKG_PREFIX}-pear-Console_CommandLine>=1.1.10:../../devel/pear-Console_CommandLine
 
-# maybe resides in lang/php/phpversion.mk
-REPLACE_INTERPRETER+=  php
-REPLACE.php.old=       .*php[^ ]*
-REPLACE.php.new=       ${PREFIX}/bin/php
-REPLACE_FILES.php=     scripts/crypt-gpg-pinentry
+REPLACE_PHP+=  scripts/crypt-gpg-pinentry
 
+.include "../../lang/php/replace.mk"
 .include "../../lang/php/pear.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index