aboutsummaryrefslogtreecommitdiff
path: root/databases/phpmyadmin
diff options
context:
space:
mode:
Diffstat (limited to 'databases/phpmyadmin')
-rw-r--r--databases/phpmyadmin/Makefile6
1 files changed, 5 insertions, 1 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}