On 2014/04/22 09:19, Edd Barrett wrote:
> On Mon, Apr 21, 2014 at 11:27:44AM +0100, Edd Barrett wrote:
> > I'll prep a new diff enabling readline on only 5.4/5.5.
> 
> New diff below.
> 
> I ran the test suite for both 5.4 and 5.5 before and after enabling readline
> to check I didn't break anything. Oddly enough, there is one new failing
> test: on 5.4 ext/ftp/tests/bug37799.phpt.  By repeatedly running the test,
> it became clear that this is a non-deterministically failing test, so meh.
> 
> NOTE: the intl multi packages have extra 'm' in WANTLIB (even before my
> changes). Not sure if that is intentional, but can fix in a separate diff.

was that for all versions or just some? fix if it's easy and can be done
in Makefile.inc but not worth anything too complicated imho, an extra lib
in WANTLIB isn't really a problem.

> OK?
> 
> Index: 5.4/Makefile
> ===================================================================
> RCS file: /home/edd/cvsync/cvs/ports/lang/php/5.4/Makefile,v
> retrieving revision 1.22
> diff -u -p -r1.22 Makefile
> --- 5.4/Makefile      6 Apr 2014 12:52:25 -0000       1.22
> +++ 5.4/Makefile      21 Apr 2014 21:28:54 -0000
> @@ -9,11 +9,18 @@ USE_LIBTOOL=        No
>  PV=          5.4
>  V=           ${PV}.27
>  
> +REVISION-main =              0
> +REVISION-fpm =               0
> +REVISION-fastcgi =   0
> +
>  INI_TEMPLATES=       development production
>  
>  CONFIGURE_ARGS+=     --enable-mysqlnd
>  
> -WANTLIB-main+=               stdc++
> +# Readline support is broken in PHP 5.3, hence this is not in Makefile.inc
> +CONFIGURE_ARGS +=    --with-readline

I would prefer a comment like "Move to Makefile.inc when 5.3 is removed".

Apart from that it looks good to me, but your tree is out of date so you'll
need to merge conflicts with -current.

Reply via email to