FreeBSD Port: graphics/p5-GD - VERSION_33 [PATCH]

Felix J. Ogris fjo-lists at ogris.de
Mon Feb 24 15:36:15 UTC 2014


See the attached patch.

--Felix
-------------- next part --------------

On 19 Feb 2014, at 18:01, Felix J. Ogris <fjo-lists at ogris.de> wrote:

> Hi,
> 
> Makefile.PL of p5-GD-2.51 won't set VERSION_33 even if libgd-2.1.0_1 is installed. Thus, copyRotated() won't work.
> I think lines 299+300 of Makefile.PL of p5-GD-2.51 are not correct:
> 
>  my ($minor)    = $version =~ /^2\.\d+\.(\d+)$/;
>  $$options     .= " GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33" if defined($minor) && $minor >= 33;
> 
> That doesn't work for any version of libgd where minor number is < 33, even though its major number is > 2.0
> 
> --Felix
> 



More information about the freebsd-perl mailing list