On 04/10/05, Ian McWilliam <[EMAIL PROTECTED]> wrote:
> Now, seeing a lot of stuff seems to not run under php 5 that I have
> come across, I have issue with a number of ports in our tree that are
> dependent on php 5 while not really requiring php5. Would it be a
> good idea to flavor certain ports to depend on php4 as one flavor and
> php5 as another flavor? things like phpmyadmin and phppgadmin are
> things that come to mind that I habe to modify back to php4 to install.

Indeed. phpmyadmin is a very good example of this, and one I use all
the time. I haven't yet managed to trick the package system into
allowing any version of php[45]-mysql-[45].* into satisfying the mysql
php module dependency... that's probably not a good thing to pursue,
so flavoring is probably better.

In the spirit of "shut up and hack", attached is a diff that attempts
to add php4/php5 flavors to the phpmyadmin port. I don't understand
make quite well enough yet to be able to bail out when someone tries
to specify the php4 and php5 flavors at the same time.

CK

--
GDB has a 'break' feature; why doesn't it have 'fix' too?

Attachment: phpmyadmin.diff
Description: Binary data

Reply via email to