diff options
author | tnn <tnn@pkgsrc.org> | 2021-04-09 15:22:13 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2021-04-09 15:22:13 +0000 |
commit | 2ba5aabaab183be0afaa59dfcd1a41c91340f8eb (patch) | |
tree | 59ecc76bbcbc863482f47e518f2f5965ac9a0d27 /www/drupal7 | |
parent | 13c6df8cd52f44a7d037a38c0485b0f41116caf0 (diff) | |
download | pkgsrc-2ba5aabaab183be0afaa59dfcd1a41c91340f8eb.tar.gz |
drupal7: try to fix build with PHP 8
Diffstat (limited to 'www/drupal7')
-rw-r--r-- | www/drupal7/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/drupal7/Makefile b/www/drupal7/Makefile index 28aa8d6494e..bce30db5045 100644 --- a/www/drupal7/Makefile +++ b/www/drupal7/Makefile @@ -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 @@ HOMEPAGE= http://drupal.org/ 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 @@ post-install: ${FIND} ${DESTDIR}${PREFIX}/${DRUPAL} \ \( -name '*.jpg' -o -name '*.png' \) | ${XARGS} ${CHMOD} 0644 -.include "../../lang/php/phpversion.mk" .include "../../mk/bsd.pkg.mk" |