tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make php to multi packages
In message <CAGN_6pZYQX=73dE6NUrHnd-gi4GcG4Ah0P7AzdSxAmK9DY_=vA%mail.gmail.com@localhost>
on Tue, 11 Feb 2025 13:21:46 +0000,
David Brownlee <abs%absd.org@localhost> wrote:
>> Locally, I revivied PHP_CHECK_INSTALLED support diffrenet way.
>>
>> (1) Only one lang/php?? package is installed,
>> (2) PHP_VERSION_DEFAULT is not defined in mk.conf exlicitly,
>> (3) Use installed lang/php?? ad PHP_VERSION.
>>
>> Do you think that (2) is required or not?
>
> I would probably not choose to keep PHP_CHECK_INSTALLED, but if it is present:
> - I definitely think (2) would be required.If PHP_VERSION_DEFAULT is
> set in mk.conf, then I would expect any newly built package to use it
> (providing it is supported by that package), regardless of what is
> installed
> - I would be happy with a loud warning and short sleep if the logic
> was triggered - to let users know that special handling is afoot, and
> how to avoid it
Showing a loud warning is good idea, thank you!!
--
Takahiro Kambe <taca%NetBSD.org@localhost>
Home |
Main Index |
Thread Index |
Old Index