Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 15:44:44 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559492 - head/www/joomla3
Message-ID:  <202012281544.0BSFiiYB064946@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Mon Dec 28 15:44:44 2020
New Revision: 559492
URL: https://svnweb.freebsd.org/changeset/ports/559492

Log:
  www/joomla3: unbreak build with php80
  
  Drop abandonware pecl-pdflib dependency with php80
  
  PHP80 was introduced more than two month ago,
  maintainer had more than enough time to react and fix the port
  
  With hat:	ports-secteam

Modified:
  head/www/joomla3/Makefile

Modified: head/www/joomla3/Makefile
==============================================================================
--- head/www/joomla3/Makefile	Mon Dec 28 15:35:47 2020	(r559491)
+++ head/www/joomla3/Makefile	Mon Dec 28 15:44:44 2020	(r559492)
@@ -29,12 +29,18 @@ SHEBANG_FILES=	libraries/vendor/leafo/lessphp/lessify
 
 SUB_FILES=	pkg-message
 
-USE_PHP=	gd json mbstring pcre pdf session simplexml xml zip zlib
+USE_PHP=	gd json mbstring pcre session simplexml xml zip zlib
 
 MYSQL_USE=	PHP=mysqli
 PGSQL_USE=	PHP=pgsql
 
 WWWDIR=		${PREFIX}/www/${PORTNAME}${PORTVERSION:R:R}
+
+.include <bsd.port.options.mk>
+
+.if ${FLAVOR} != php80
+USE_PHP+=	pdf
+.endif
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${WWWDIR}



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