Le 16 août 07 à 10:56, Anders F Björklund a écrit :
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
I hate workarounds =). -- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org