svn commit: r559492 - head/www/joomla3

Dima Panov fluffy at FreeBSD.org
Mon Dec 28 15:44:44 UTC 2020


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}


More information about the svn-ports-all mailing list