git: bc6e8c0e283f - main - net-mgmt/cacti: USE_PHP+= intl pcntl

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 18 May 2023 08:20:41 UTC
The branch main has been updated by fuz:

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

commit bc6e8c0e283fcec28796a874d6280a2081bc801d
Author:     David Siebörger <drs-freebsd@sieborger.nom.za>
AuthorDate: 2023-05-16 14:59:11 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-18 08:19:47 +0000

    net-mgmt/cacti: USE_PHP+= intl pcntl
    
    In version 1.2.23, Cacti's installer checks for the presence of the intl
    and pcntl PHP modules.  Thus the port ought to depend on those modules.
    
    Also switch to DISTVERSION while we are at it.
    
    See also:       https://github.com/Cacti/cacti/commit/27308d84
    See also:       https://github.com/Cacti/cacti/commit/15cdd4a5
    PR:             269022
    Approved by:    m.muenz@gmail.com (maintainer)
---
 net-mgmt/cacti/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile
index 974ad2b192f6..d95322e06974 100644
--- a/net-mgmt/cacti/Makefile
+++ b/net-mgmt/cacti/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cacti
-PORTVERSION=	1.2.23
+DISTVERSION=	1.2.23
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	http://www.cacti.net/downloads/ \
 		ftp://ftpmirror.uk/freebsd-ports/cacti/
@@ -15,7 +16,8 @@ RUN_DEPENDS=	rrdtool:databases/rrdtool
 
 USES=		cpe mysql php:web shebangfix
 
-USE_PHP=	ctype filter gd gettext gmp ldap mbstring pdo pdo_mysql posix session simplexml sockets snmp xml zlib
+USE_PHP=	ctype filter gd gettext gmp intl ldap mbstring pcntl pdo \
+		pdo_mysql posix session simplexml sockets snmp xml zlib
 NO_ARCH=	yes
 NO_BUILD=	yes
 SUB_FILES=	pkg-message