Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 13:19:20 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Boris Samorodov" <bsam@ipt.ru>
Cc:        emulation@freebsd.org
Subject:   Re: ports/138752: www/linux-opera does not start
Message-ID:  <op.uz9ei6gw9aq2h7@localhost>
In-Reply-To: <80174211@bb.ipt.ru>
References:  <op.uz5sa6ck9aq2h7@localhost> <86iqfn6gfz.fsf@ahab.tihnet> <op.uz500dp59aq2h7@localhost> <76660667@bb.ipt.ru> <op.uz8x2jck9aq2h7@localhost> <80174211@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Sep 2009 09:50:20 -0500, Boris Samorodov <bsam@ipt.ru> wrote:

> On Mon, 14 Sep 2009 07:23:45 -0500 Jeremy Messenger wrote:
>> On Mon, 14 Sep 2009 01:56:36 -0500, Boris Samorodov <bsam@ipt.ru> wrote:
>> > On Sat, 12 Sep 2009 17:34:27 -0500 Jeremy Messenger wrote:
>> >
>> >> BTW: Add emulation@ in the CC for they can correct me if I said
>> >> anything wrong with Linux emulation stuff related.
>> >
>> > Jeremy, you are perfectly correct.
>> >
>> > However, I'll advise against other linux base ports than -fc4,
>> > -f8 and -f10. The latter ports have all needed linux infrastructure
>> > ports.
>
>> Ok, it means that it's best for me to put USE_LINUX=f8 in there
>> instead of f6 or f7.
>
> USE_LINUX does nor support it. I mean there is no possibility to
> define a linux distro ATM. The only option is to use USE_LINUX=yes.
> The only way is to check for OSVERSION and if
> OVERRIDE_LINUX_NONBASE_PORTS is defined. You may look at
> emulators/linux-systemsimcell for an examples.

See in the Mk/bsd.port.mk:
===================================
# USE_LINUX		- Set to yes to say the port needs the default linux base  
port.
#				  Set to value <X>, if the port needs emulators/linux_base-<X>.
#				  If set to "7", a dependency is registered to emulators/linux_base.
------------------------------------

With USE_LINUX=yes:
------------------------------------
# make all-depends-list | grep base
/usr/ports/emulators/linux_base-fc4
------------------------------------

With USE_LINUX=f8:
------------------------------------
# make all-depends-list | grep base
/usr/ports/emulators/linux_base-f8
/usr/ports/emulators/linux_base-fc4
------------------------------------

Looks like it's a bug. Also the document needs to be update if it doesn't  
support.

>> Will it still be able to use f10 if user wants it
>> to be? I don't  see anything to add '+' in the document something like
>> USE_LINUX=f8+.
>
> Yes, no one including me have written such support so far.

Ok thanks, I shall check in emulators/linux-systemsimcell.

Cheers,
Mezz


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.uz9ei6gw9aq2h7>