ports/185467: [PATCH] net-mgmt/zabbix22-frontend: permit building with >php 5.2
Mark Felder
feld at FreeBSD.org
Sat Jan 4 15:10:00 UTC 2014
>Number: 185467
>Category: ports
>Synopsis: [PATCH] net-mgmt/zabbix22-frontend: permit building with >php 5.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 04 15:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Mark Felder
>Release:
>Organization:
>Environment:
>Description:
Zabbix 2.2 supports PHP versions newer than 5.2
https://www.zabbix.com/documentation/2.2/manual/installation/requirements
The attached patch adds STAGE support to zabbix22-frontend and only restricts building with PHP 5.2.
Please update the rest of the zabbix ports to support STAGE at your leisure.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: zabbix22-frontend/Makefile
===================================================================
--- zabbix22-frontend/Makefile (revision 338647)
+++ zabbix22-frontend/Makefile (working copy)
@@ -20,7 +20,6 @@
OPTIONS_DEFAULT= MYSQL MYSQLI
MYSQLI_DESC= MySQLI backend
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -45,7 +44,7 @@
.endif
do-install:
- @${INSTALL} -d ${WWWDIR}
- @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${WWWDIR}
+ ${INSTALL} -d ${STAGEDIR}${WWWDIR}
+ @cd ${WRKSRC}/frontends/php/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
.include "${MASTERDIR}/Makefile"
Index: zabbix22-server/Makefile
===================================================================
--- zabbix22-server/Makefile (revision 338647)
+++ zabbix22-server/Makefile (working copy)
@@ -16,7 +16,7 @@
CONFLICTS= ${PKGBASE}-1.[0-8]*
-IGNORE_WITH_PHP= 5 52
+IGNORE_WITH_PHP= 52
IGNORE_WITH_MYSQL= 41
.if ${PKGNAMESUFFIX} != "-agent"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list