Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2020 09:50:01 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553429 - in head: Mk/Uses lang/php80-extensions print/pecl-pdflib
Message-ID:  <202010270950.09R9o1FD020500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Tue Oct 27 09:50:00 2020
New Revision: 553429
URL: https://svnweb.freebsd.org/changeset/ports/553429

Log:
  PECL pdflib is deprecated and doesn't support PHP 8.0.

Modified:
  head/Mk/Uses/php.mk
  head/lang/php80-extensions/Makefile
  head/print/pecl-pdflib/Makefile

Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk	Tue Oct 27 09:37:16 2020	(r553428)
+++ head/Mk/Uses/php.mk	Tue Oct 27 09:50:00 2020	(r553429)
@@ -376,15 +376,15 @@ _USE_PHP_ALL=	bcmath bitset bz2 calendar ctype curl db
 		enchant exif fileinfo filter ftp gd gettext gmp \
 		hash iconv igbinary imap intl json ldap mbstring mcrypt \
 		memcache memcached mysqli odbc opcache \
-		openssl pcntl pcre pdf pdo pdo_dblib pdo_firebird pdo_mysql \
+		openssl pcntl pcre pdo pdo_dblib pdo_firebird pdo_mysql \
 		pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \
 		pspell radius readline redis session shmop simplexml snmp soap\
 		sockets spl sqlite3 sysvmsg sysvsem sysvshm \
 		tidy tokenizer xml xmlreader xmlwriter xsl zip zlib
 # version specific components
-_USE_PHP_VER72=	${_USE_PHP_ALL} interbase recode sodium xmlrpc wddx
-_USE_PHP_VER73=	${_USE_PHP_ALL} interbase recode sodium xmlrpc wddx
-_USE_PHP_VER74=	${_USE_PHP_ALL} ffi sodium xmlrpc
+_USE_PHP_VER72=	${_USE_PHP_ALL} interbase pdf recode sodium xmlrpc wddx
+_USE_PHP_VER73=	${_USE_PHP_ALL} interbase pdf recode sodium xmlrpc wddx
+_USE_PHP_VER74=	${_USE_PHP_ALL} ffi pdf sodium xmlrpc
 _USE_PHP_VER80=	${_USE_PHP_ALL} ffi sodium
 
 bcmath_DEPENDS=	math/php${PHP_VER}-bcmath

Modified: head/lang/php80-extensions/Makefile
==============================================================================
--- head/lang/php80-extensions/Makefile	Tue Oct 27 09:37:16 2020	(r553428)
+++ head/lang/php80-extensions/Makefile	Tue Oct 27 09:50:00 2020	(r553429)
@@ -16,7 +16,7 @@ OPTIONS_DEFINE=	BCMATH BZ2 CALENDAR CTYPE CURL DBA \
 		DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \
 		GMP ICONV INTL IMAP LDAP MBSTRING \
 		MYSQLI \
-		ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \
+		ODBC OPCACHE OPENSSL PCNTL PDO PDO_DBLIB PDO_FIREBIRD \
 		PDO_MYSQL PDO_ODBC PDO_PGSQL PDO_SQLITE PGSQL PHAR POSIX \
 		PSPELL READLINE SESSION SHMOP SIMPLEXML SNMP SOAP \
 		SOCKETS SODIUM SQLITE3 SYSVMSG SYSVSEM SYSVSHM \
@@ -48,7 +48,6 @@ ODBC_DESC=		ODBC support
 OPCACHE_DESC=		OPcache support
 OPENSSL_DESC=		OpenSSL support
 PCNTL_DESC=		pcntl support (CLI only)
-PDF_DESC=		PDFlib support (implies GD)
 PDO_DESC=		PHP Data Objects Interface (PDO)
 PDO_DBLIB_DESC=		PDO DBLIB-DB driver
 PDO_FIREBIRD_DESC=	PDO Firebird driver

Modified: head/print/pecl-pdflib/Makefile
==============================================================================
--- head/print/pecl-pdflib/Makefile	Tue Oct 27 09:37:16 2020	(r553428)
+++ head/print/pecl-pdflib/Makefile	Tue Oct 27 09:50:00 2020	(r553429)
@@ -9,14 +9,16 @@ CATEGORIES=	print pear
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	PECL extension to create PDF on the fly
 
-LIB_DEPENDS=	libpdf.so:print/pdflib
-
-USES=		php:pecl
-
 LICENSE=	PDFlib
 LICENSE_NAME=	PDFlib GmbH General License
-LICENSE_PERMS=	none
 LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	none
+
+IGNORE_WITH_PHP=80
+
+LIB_DEPENDS=	libpdf.so:print/pdflib
+
+USES=		php:pecl
 
 USE_PHP=	gd:build
 PHP_MODNAME=	pdf



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