pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/drupal7 drupal7: try to fix build with PHP 8
details: https://anonhg.NetBSD.org/pkgsrc/rev/455e7384157e
branches: trunk
changeset: 450036:455e7384157e
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Apr 09 15:22:13 2021 +0000
description:
drupal7: try to fix build with PHP 8
diffstat:
www/drupal7/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 5d2320c36b57 -r 455e7384157e www/drupal7/Makefile
--- a/www/drupal7/Makefile Fri Apr 09 14:41:34 2021 +0000
+++ b/www/drupal7/Makefile Fri Apr 09 15:22:13 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2021/04/09 08:34:55 prlw1 Exp $
+# $NetBSD: Makefile,v 1.71 2021/04/09 15:22:13 tnn Exp $
DISTNAME= drupal-7.79
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
@@ -10,8 +10,11 @@
COMMENT= Open source content management system
LICENSE= gnu-gpl-v2
+.include "../../lang/php/phpversion.mk"
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.0:../../graphics/php-gd
+.if ${PKG_PHP_MAJOR_VERS} < 8
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4.0:../../textproc/php-json
+.endif
NO_BUILD= YES
DRUPAL= share/drupal
@@ -82,5 +85,4 @@
${FIND} ${DESTDIR}${PREFIX}/${DRUPAL} \
\( -name '*.jpg' -o -name '*.png' \) | ${XARGS} ${CHMOD} 0644
-.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index