aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/postfixadmin/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index 79b1bda629a7..ab0c3c499ead 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -37,12 +37,18 @@ OPTIONS_DEFAULT= PGSQL
USE_PERL5= run
-USE_PHP= mbstring openssl pcre phar session spl xmlrpc
+USE_PHP= mbstring openssl pcre phar session spl
MYSQL_USE= php=mysqli
PGSQL_USE= php=pgsql
SQLITE_USE= php=sqlite3
+.include <bsd.port.options.mk>
+
+.if ${FLAVOR} != php80
+USE_PHP_= xmlrpc
+.endif
+
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${MKDIR} ${STAGEDIR}${WWWDIR}/templates_c