macports and specific build

Ryan Schmidt macports-2006d at ryandesign.com
Thu Oct 12 15:47:13 PDT 2006


On Oct 12, 2006, at 16:32, Daniel J. Luke wrote:

> I believe php4 comes with it's own copy of gd that gets statically  
> linked in when you use the +gd variant.
>
> I don't really use php, so I can't comment as to whether or not it  
> would be a good idea to have the port depend on a macports-supplied  
> gd or if it's better to just use the php-provided version.

Yes, php includes gd, and this gd is preferred to any other. See  
http://www.php.net/gd :

> Note:  Since PHP 4.3 there is a bundled version of the GD lib. This  
> bundled version has some additional features like alpha blending,  
> and should be used in preference to the external library since its  
> codebase is better maintained and more stable.

So we should continue to use the gd included in the php distribution,  
and not make php look at any gd port.





More information about the macports-users mailing list