Date: Sat, 4 Jan 2014 15:00:59 GMT From: Mark Felder <feld@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/185467: [PATCH] net-mgmt/zabbix22-frontend: permit building with >php 5.2 Message-ID: <201401041500.s04F0xpf068992@oldred.freebsd.org> Resent-Message-ID: <201401041510.s04FA04W092381@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401041500.s04F0xpf068992>