Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 19:06:01 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 25bd6410a8b2 - main - mail/postfixadmin: drop ugly xmlrpc dependency hack
Message-ID:  <202108211906.17LJ61MN002093@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

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

commit 25bd6410a8b2842ca994f518c5ea75b80e06fbee
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2021-08-21 19:05:07 +0000
Commit:     Dima Panov <fluffy@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108211906.17LJ61MN002093>