pkgsrc-WIP-changes archive

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

zoneminder: Use lang/php/json.mk



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Wed Jan 17 10:07:45 2024 -0500
Changeset:	3524541852c7c0c26c160b98eab3dc265eaec841

Modified Files:
	zoneminder/Makefile

Log Message:
zoneminder: Use lang/php/json.mk

instead of a homegrown equivalent conditional.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3524541852c7c0c26c160b98eab3dc265eaec841

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

diffstat:
 zoneminder/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diffs:
diff --git a/zoneminder/Makefile b/zoneminder/Makefile
index 0cde1bae70..dacceb0f8f 100644
--- a/zoneminder/Makefile
+++ b/zoneminder/Makefile
@@ -218,10 +218,7 @@ DEPENDS+=	${PHP_PKG_PREFIX}-sockets-[0-9]*:../../net/php-sockets
 DEPENDS+=	${PHP_PKG_PREFIX}-intl-[0-9]*:../../textproc/php-intl
 DEPENDS+=	${PHP_PKG_PREFIX}-apcu-[0-9]*:../../www/php-apcu
 
-# json is core >= 8 (and we reject 56)
-.if !empty(PKG_PHP_VERSION:M74)
-DEPENDS+=	${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
-.endif
+.include "../../lang/php/json.mk"
 
 ## WEB
 


Home | Main Index | Thread Index | Old Index