From 83d703a2a7163626b723934766b33f69b10e849b Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Mon, 28 Dec 2020 15:56:05 +0000 Subject: databases/phpmyadmin*: 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 --- databases/phpmyadmin/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'databases/phpmyadmin') diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile index 56d8d70faa67..f39cec425c67 100644 --- a/databases/phpmyadmin/Makefile +++ b/databases/phpmyadmin/Makefile @@ -36,7 +36,7 @@ USE_PHP= ctype filter hash json mysqli session spl xml # want this, either turn off GD in the config dialog, or else turn off # FONTCONFIG in the graphics/gd port options. -OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE OPENSSL PDF \ +OPTIONS_DEFINE= BZ2 CURL GD GMP MBSTRING OPCACHE OPENSSL \ SODIUM ZIP ZLIB OPTIONS_DEFAULT= BZ2 GD MBSTRING OPENSSL ZIP ZLIB @@ -64,6 +64,10 @@ SUB_LIST+= PKGNAME=${PKGNAME} \ CFG_FILE=${WWWDIR}/${CFG_FILE} SUB_FILES+= pkg-message +.if ${FLAVOR} != php80 +OPTIONS_DEFINE+= PDF +.endif + .if !defined(WITHOUT_PHP_DEPENDS) .for opt in ${OPTIONS_DEFINE} -- cgit v1.2.3