add LINUX_OSRELEASE to bsd.linux-rpm.mk

Alexander Leidinger Alexander at Leidinger.net
Fri Mar 21 10:54:14 UTC 2008


Quoting Boris Samorodov <bsam at ipt.ru> (from Fri, 21 Mar 2008 02:25:50 +0300):

> Hello,
>
>
> We are approching a day when two default compat.linux.osrelease
> would exist (though it would be a one per branch). There should be a
> way to determine which linux infrastructure ports should be
> installed and a way to override this value (e.g. while package
> building).
>
> I propose the following patch to bsd.linux-rpm.mk. It introduces a new
> variable LINUX_OSRELEASE which is evaluated at bsd.linux-rpm.mk unless
> it has been already defined.
>
> What do you think?

What's the big picture (in the sense of: how do you want to use it)?

Depending on the usage, it may be overkill to use it in linux-rpm.mk  
and it would be better to just use it directly when it is needed. If  
you want to use it in nearly every linux port, then sure, go ahead.  
But if it is just a handful of ports, I would like to understand the  
implications. If you have something which uses this already, just show  
it. If not, I would say we are not in a hurry to add this now and we  
can talk about it, if there's something to show.

Bye,
Alexander.

-- 
A man paints with his brains and not with his hands.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-emulation mailing list