Hello ports@, Here's my attempt at importing PHP 7.1. This is my first ports attempt, so I might have overlooked some things. Builds, packages, and runs for me. OK?
martijn@ Index: Makefile.inc =================================================================== RCS file: /cvs/ports/lang/php/Makefile.inc,v retrieving revision 1.88 diff -u -p -r1.88 Makefile.inc --- Makefile.inc 4 Nov 2016 11:35:19 -0000 1.88 +++ Makefile.inc 8 Dec 2016 12:27:42 -0000 @@ -44,7 +44,7 @@ INI_TEMPLATES?= development production # don't have. USE_LIBTOOL?= No -.if ${PV} != "7.0" +.if ${PV} != "7.0" && ${PV} != "7.1" FLAVORS= no_suhosin .endif FLAVOR?= @@ -144,7 +144,7 @@ MULTI_PACKAGES+= -gd COMMENT-gd= image manipulation extensions for php5 LIB_DEPENDS-gd= graphics/jpeg \ graphics/png -.if ${PV} != "7.0" +.if ${PV} != "7.0" && ${PV} != "7.1" LIB_DEPENDS-gd+= devel/t1lib WANTLIB-gd+= t1>=5 .endif @@ -194,7 +194,7 @@ CONFIGURE_ARGS+= --with-mcrypt=shared,${ LIB_DEPENDS-mcrypt= security/libmcrypt devel/libtool,-ltdl WANTLIB-mcrypt= mcrypt ltdl>=1 pthread -.if ${PV} != "7.0" +.if ${PV} != "7.0" && ${PV} != "7.1" # mysql MULTI_PACKAGES+= -mysql COMMENT-mysql= mysql database access extensions for php5 @@ -276,7 +276,7 @@ CONFIGURE_ARGS+= --with-snmp=shared,${LO LIB_DEPENDS-snmp= net/net-snmp WANTLIB-snmp= crypto m netsnmp>=6.2 pthread -.if ${PV} != "7.0" +.if ${PV} != "7.0" && ${PV} != "7.1" # sybase-ct MULTI_PACKAGES+= -sybase_ct COMMENT-sybase_ct= sybase database access extensions for php5 @@ -292,7 +292,7 @@ CONFIGURE_ARGS+= --with-pdo-dblib LIB_DEPENDS-pdo_dblib= databases/freetds WANTLIB-pdo_dblib= sybdb>=6 pthread -.if ${PV} != "7.0" +.if ${PV} != "7.0" && ${PV} != "7.1" # mssql MULTI_PACKAGES+= -mssql COMMENT-mssql= microsoft sql access extensions for php5 @@ -350,7 +350,7 @@ LIB_DEPENDS-fastcgi= ${LIB_DEPENDS-main} RUN_DEPENDS-fastcgi= SUHOSIN_V= 0.9.38 -.if ${FLAVOR:Mno_suhosin} || ${PV} == "7.0" +.if ${FLAVOR:Mno_suhosin} || ${PV} == "7.0" || ${PV} == "7.1" SUPDISTFILES= suhosin-${SUHOSIN_V}.tar.gz:0 .else DISTFILES+= suhosin-${SUHOSIN_V}.tar.gz:0 @@ -406,7 +406,7 @@ post-install: ${INSTALL_MAN} ${WRKBUILD}/sapi/fpm/php-fpm.8 ${PREFIX}/man/man8/php-fpm-${PV}.8 ${INSTALL_DATA} ${WRKBUILD}/sapi/fpm/php-fpm.conf \ ${PREFIX}/share/examples/php-${PV}/php-fpm.conf -.if ${PV} == "7.0" +.if ${PV} == "7.0" && ${PV} == "7.1" cat ${WRKBUILD}/sapi/fpm/www.conf >> \ ${PREFIX}/share/examples/php-${PV}/php-fpm.conf .endif
7.1.tar.bz2
Description: Binary data