www/nextcloud: Fix build with PHP 8.0
* This does NOT mean Nextcloud is PHP 8 compatible!
This commit is contained in:
parent
f4e2cb47b3
commit
d6a703c72a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553794
@ -13,8 +13,8 @@ LICENSE= AGPLv3
|
||||
|
||||
USES= cpe gettext-runtime php:flavors,web tar:bzip2
|
||||
USE_PHP= bcmath bz2 ctype curl dom fileinfo filter gd gmp hash iconv \
|
||||
json mbstring pdo posix session simplexml xml xmlreader \
|
||||
xmlwriter xsl zip zlib
|
||||
mbstring pdo posix session simplexml xml xmlreader xmlwriter \
|
||||
xsl zip zlib
|
||||
|
||||
NEXTCLOUD_USERNAME?= ${WWWOWN}
|
||||
NEXTCLOUD_GROUPNAME?= ${WWWGRP}
|
||||
@ -63,6 +63,10 @@ SSL_USE= PHP=openssl
|
||||
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR} != php80
|
||||
USE_PHP+= json
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${MV} ${WRKSRC}/config/config.sample.php ${WRKSRC}/config/config.documented.php
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user