Re: bad dependance on -> linux_base while upgrade

From: Vladimir Grebenschikov <vova_at_sw.ru>
Date: Fri, 09 Sep 2005 11:43:52 +0400
В чт, 08/09/2005 в 18:50 +0200, Alexander Leidinger пишет:
> On Thu, 8 Sep 2005 11:04:03 +0200
> Marcin Jessa <lists_at_yazzy.org> wrote:
> 
> F'up to emulation please...
> 
> > Hi Vladimir, guys.
> > 
> > I've had the same problem. 
> > The only way I could use newer linux base than 7.3 was using OVERRIDE_LINUX_BASE_PORT=8 in make.conf
> > I tried using suse port as well with the same result/problems as you're facing.
> 
> There's no autodetection of the used linux_base version. We have a
> default linux_base and everything is supposed to work with only this
> version. Everything else is pure luck (or good "upward-compatibility"
> of the linux ports, but this isn't required).

Probably we should register same dependence as we check ?
I mean we check existence of /compat/linux/etc/redhat-release as
dependence, 
Then check related port:
# pkg_which /compat/linux/etc/redhat-release 
linux_base-rh-9
#
And then register valid dependence.

> If you want to use another linux_base, you have to use
> OVERRIDE_LINUX_BASE_PORT in make.conf.

Ok

> Now that we talked about the current policy, the strange part above is,
> that you have to specify v8 in the override. This is *very* strange.
> Please make sure you have the latest /usr/ports/Mk/bsd.port.mk.

Actually I want to have rh9 to run some linux software, and it works
only with rh9 base. And I want to get working other linux software (like
flash plugins).

> > On Thu, 08 Sep 2005 12:50:30 +0400
> > Vladimir Grebenschikov <vova_at_sw.ru> wrote:
> > 
> > > Hi all
> > > 
> > > After upgrade almost any linux* port I have same problem - dependence is
> > > broken.
> > > 
> > > I have WITH_LINUX=rh-9 in my make.conf and all linux-* port built with
> > > this define, but they all install dependence to not existed
> > > linux_base-8-8.0_6.
> 
> WITH_LINUX is wrong. It was usable for a moment in time, but is wasn't
> done properly (since it changed the meaning of the former usage of it).
> For this reason I introduced OVERRIDE_LINUX_BASE_PORT. It's used like
> you do it with WITH_LINUX.
> 
> Bye,
> Alexander.
> 
-- 
Vladimir B. Grebenschikov
SWsoft Inc. vova_at_sw-soft.com
Received on Fri Sep 09 2005 - 05:43:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC