add MODPHP_VERSION=5.6 to ports that don't work with php 7.0,

a noop for now until the button is pushed in php.port.mk

pear-MDB2-mysql: requires php-mysql
nedi:		 requires php-mysql (fixable by updating to nedi 1.6)
mapserver:	 https://github.com/mapserver/mapserver/issues/5252
xcache:		 not ported to 7.0; opcache recommended instead
This commit is contained in:
sthen 2018-05-21 22:18:01 +00:00
parent fe6cdaae80
commit 2b38aa4c79
4 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2016/04/01 18:46:50 sthen Exp $
# $OpenBSD: Makefile,v 1.17 2018/05/21 22:18:01 sthen Exp $
COMMENT= database abstraction layer for PHP
@ -9,6 +9,8 @@ REVISION= 10
CATEGORIES= net databases
MODULES= lang/php www/pear
# php-mysql is not available in 7.x
MODPHP_VERSION= 5.6
# PHP License
PERMIT_PACKAGE_CDROM= Yes
@ -16,5 +18,4 @@ PERMIT_PACKAGE_CDROM= Yes
RUN_DEPENDS= databases/pear-MDB2>=2.4.1 \
lang/php/${MODPHP_VERSION},-mysql
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.53 2018/01/11 19:27:02 rpe Exp $
# $OpenBSD: Makefile,v 1.54 2018/05/21 22:18:02 sthen Exp $
MULTI_PACKAGES= -utils -main -php -perl
@ -29,6 +29,7 @@ MASTER_SITES= http://download.osgeo.org/mapserver/
MODULES= lang/php devel/cmake
MODPHP_RUNDEP= No
MODPHP_VERSION= 5.6
NO_TEST = Yes
RUN_DEPENDS-php = ${MODPHP_RUN_DEPENDS}
RUN_DEPENDS-main = www/spawn-fcgi

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2017/11/19 19:38:46 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.19 2018/05/21 22:18:02 sthen Exp $
COMMENT = network discovery tool
@ -17,6 +17,8 @@ PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}/pub/
MODULES = lang/php
# XXX needs updating to nedi 1.6 for PHP-mysqli before it can work with PHP 7
MODPHP_VERSION = 5.6
RUN_DEPENDS = databases/mariadb,-server \
databases/p5-DBD-mysql \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2016/03/19 23:59:15 naddy Exp $
# $OpenBSD: Makefile,v 1.32 2018/05/21 22:18:02 sthen Exp $
COMMENT= fast and stable PHP opcode cacher
@ -16,6 +16,7 @@ MAINTAINER= Brad Smith <brad@comstyle.com>
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/php
MODPHP_VERSION= 5.6
BUILD_DEPENDS+= ${MODGNU_AUTOCONF_DEPENDS} \
devel/re2c>=0.13.4 \