tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make php to multi packages



Hi,

In message <C776B2A0-0C88-4F38-9FAF-C0A4D09ACB4C%fessel.org@localhost>
	on Mon, 10 Feb 2025 13:38:55 +0100,
	oskar%fessel.org@localhost wrote:
>>> PHP_VERSION_DEFAULT now takes precedence over the installed PHP, breaking nearly all of my builds.
>>> While this is possibly self-inflicted by building and installing php83 from lang/php83, it is somewhat unexpected.
>>> Previously phpversion.mk checked what version was installed and selected the appropriate DEFAULT, it is now set to 82.
>>> From the cvs log it is clear, that the version check is not happening anymore.

I'm sorry for your inconvenience.

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?

-- 
Takahiro Kambe <taca%NetBSD.org@localhost>


Home | Main Index | Thread Index | Old Index