You may wish to add the following to your diff for
/cvs/ports/lang/php/Makefile.inc:
- remove '--enable-zend-multibyte' (This feature has been DEPRECATED as
of
PHP 5.3.0 and REMOVED as of PHP 5.4.0)
- rename '--enable-fastcgi' to '--enable-cgi' (As of PHP 5.3.0 this
argument
no longer exists and is enabled by --enable-cgi instead)
(taken from https://secure.php.net/manual/en/configure.about.php )
Le 14-11-2017 19:54, Martijn van Duren a écrit :
Hello ports@,
As requested by sthen@ I will cut up my big patch into smaller pieces.
This is the first part of that undertaking.
I will send in 1 at the time since a lot intermingles with Makefile.inc
and I don't want stacking patches to cause trouble.
If someone objects to a certain patch I'll just drop it till it's the
right time to discuss it, so to not keep the things that can move
along.
OK for the patch below?
martijn@
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/lang/php/Makefile.inc,v
retrieving revision 1.97
diff -u -p -r1.97 Makefile.inc
--- Makefile.inc 14 Nov 2017 11:57:25 -0000 1.97
+++ Makefile.inc 14 Nov 2017 18:02:26 -0000
@@ -71,12 +71,8 @@ CONFIGURE_ARGS+= --enable-shared \
--with-pdo-sqlite \
--enable-sqlite-utf8 \
--with-sqlite3 \
- --program-suffix=-${PV}
-
-# readline is broken in PHP-5.3
-.if ${PV} != 5.3
-CONFIGURE_ARGS += --with-readline
-.endif
+ --program-suffix=-${PV} \
+ --with-readline
....