git: 25bd6410a8b2 - main - mail/postfixadmin: drop ugly xmlrpc dependency hack

Dima Panov fluffy at FreeBSD.org
Sat Aug 21 19:06:02 UTC 2021


The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25bd6410a8b2842ca994f518c5ea75b80e06fbee

commit 25bd6410a8b2842ca994f518c5ea75b80e06fbee
Author:     Dima Panov <fluffy at FreeBSD.org>
AuthorDate: 2021-08-21 19:05:07 +0000
Commit:     Dima Panov <fluffy at FreeBSD.org>
CommitDate: 2021-08-21 19:05:53 +0000

    mail/postfixadmin: drop ugly xmlrpc dependency hack
    
    It no more needed since Mk/Uses/php.mk have a check for every
    supported php version and able to select a right dependency.
    
    With hat:       ports-secteam
---
 mail/postfixadmin/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index af9a04591388..a1ab399a848a 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -36,18 +36,12 @@ OPTIONS_DEFAULT=	PGSQL
 
 USE_PERL5=	run
 
-USE_PHP=	mbstring openssl pcre phar session spl
+USE_PHP=	mbstring openssl pcre phar session spl xmlrpc
 
 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


More information about the dev-commits-ports-main mailing list