aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2020-12-28 15:56:05 +0000
committerDima Panov <fluffy@FreeBSD.org>2020-12-28 15:56:05 +0000
commit83d703a2a7163626b723934766b33f69b10e849b (patch)
tree553101961d2dfd0d7ea721f82066d2a1a6aef15a /databases
parent9815fc759220297611609779b50a9e326866c8b5 (diff)
downloadports-83d703a2a7163626b723934766b33f69b10e849b.tar.gz
ports-83d703a2a7163626b723934766b33f69b10e849b.zip
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
Notes
Notes: svn path=/head/; revision=559495
Diffstat (limited to 'databases')
-rw-r--r--databases/phpmyadmin/Makefile6
-rw-r--r--databases/phpmyadmin5/Makefile6
2 files changed, 10 insertions, 2 deletions
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}
diff --git a/databases/phpmyadmin5/Makefile b/databases/phpmyadmin5/Makefile
index 83e5aae6bc7a..3177bfd0b300 100644
--- a/databases/phpmyadmin5/Makefile
+++ b/databases/phpmyadmin5/Makefile
@@ -35,7 +35,7 @@ USE_PHP= ctype filter hash json mysqli session spl xml xmlwriter
# 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
@@ -63,6 +63,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}