pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/php-redis databases/php-redis: fix for php80



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a27174243bb
branches:  trunk
changeset: 449372:9a27174243bb
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Mar 29 00:09:35 2021 +0000

description:
databases/php-redis: fix for php80

php-json is bundled in lang/php80 pacakge.

diffstat:

 databases/php-redis/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a855ff34999f -r 9a27174243bb databases/php-redis/Makefile
--- a/databases/php-redis/Makefile      Mon Mar 29 00:02:08 2021 +0000
+++ b/databases/php-redis/Makefile      Mon Mar 29 00:09:35 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/03/28 00:05:47 mef Exp $
+# $NetBSD: Makefile,v 1.15 2021/03/29 00:09:35 taca Exp $
 #
 
 MODNAME=       redis
@@ -24,6 +24,8 @@
 CFLAGS+=       -Wno-error=return-type
 .endif
 
+.include "../../lang/php/ext.mk"
+.if ${PKG_PHP_MAJOR_VERS} < 8
 .include "../../textproc/php-json/buildlink3.mk"
-.include "../../lang/php/ext.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index