php extension naming scheme

Ryan Schmidt ryandesign at macports.org
Sat Mar 24 15:04:19 PDT 2007


On Mar 24, 2007, at 09:31, Yves de Champlain wrote:

> I just made a port for the yaz php extension.  Now since there are  
> many such extensions that are all potential ports, does anybody any  
> naming scheme proposition ?
>
> How about
>
> www/php_yaz

Hmm. Do we have any ports for php extensions yet? I don't think we  
do. I was just recently thinking we should have a way to build  
eaccelerator for php in MacPorts but hadn't yet thought how. And  
someone just asked me to add support for memcache to php5.

How would php_yaz know whether to build for php4 or php5? Would there  
be variants? Or would there be two ports, php4_yaz and php5_yaz? I  
think the latter is how the Python extensions are being done but I  
don't exactly know why that's better than using variants.

See also the recent discussion about being able to "select" which  
version of php (python, gcc, etc.) you want to use.





More information about the macports-dev mailing list