From 9815fc759220297611609779b50a9e326866c8b5 Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Mon, 28 Dec 2020 15:52:44 +0000 Subject: [PATCH] mail/postfixadmin: unbreak build with php80 Drop abandonware xmlrpc 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 --- mail/postfixadmin/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 + +.if ${FLAVOR} != php80 +USE_PHP_= xmlrpc +.endif + do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}/templates_c