Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2020 20:24:43 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553794 - head/www/nextcloud
Message-ID:  <202010312024.09VKOhj4085054@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010312024.09VKOhj4085054>