svn commit: r553794 - head/www/nextcloud
Bernard Spil
brnrd at FreeBSD.org
Sat Oct 31 20:24:43 UTC 2020
Author: brnrd
Date: Sat Oct 31 20:24:42 2020
New Revision: 553794
URL: https://svnweb.freebsd.org/changeset/ports/553794
Log:
www/nextcloud: Fix build with PHP 8.0
* This does NOT mean Nextcloud is PHP 8 compatible!
Modified:
head/www/nextcloud/Makefile
Modified: head/www/nextcloud/Makefile
==============================================================================
--- head/www/nextcloud/Makefile Sat Oct 31 20:01:01 2020 (r553793)
+++ head/www/nextcloud/Makefile Sat Oct 31 20:24:42 2020 (r553794)
@@ -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}
@@ -61,6 +61,10 @@ SSL_USE= PHP=openssl
.if ${PORT_OPTIONS:MAPCU}
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:
More information about the svn-ports-all
mailing list