[27925] trunk/dports/www

Anders F Björklund afb at macports.org
Thu Aug 16 01:56:56 PDT 2007


N_Ox wrote:

> For this port to be really useful, every port depending on port:php5 
> should depend on (path|lib):*:php5.

Can't you do the usual workaround, and installing the "php5" port 
deactivated to fill dependencies and then install the "php5-devel" port 
activated to get the new version ?

Then again, relying on the current (buggy) behaviour might not be the 
best of ideas... It's one of the Olden Goldies: 
http://trac.macports.org/projects/macports/ticket/7361


Note that it is quite dangerous, if you install a port and then 
deactivate it then MacPorts will still think that the port is there and 
if you later on try to build something that requires the port - then it 
might as well link against a system library or other installation and 
if that happens to work (in that particular moon phase), no error is 
issued either. You can easilly get some hard to find bugs this way. 
Sometimes you get off easy, with a "library not found" error in the 
configure phase or a "image not found" when trying to run a binary...

--anders




More information about the macports-dev mailing list