Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2007 13:36:27 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        obrien@FreeBSD.org
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/emulators/linux_base-fc4 Makefile
Message-ID:  <20071222133627.46o3d8fxc0sko0w0@webmail.leidinger.net>
In-Reply-To: <20071220163402.GB46470@dragon.NUXI.org>
References:  <200712192019.lBJKJtvv016644@repoman.freebsd.org> <20071220092355.rpm2kstwu88c4k88@webmail.leidinger.net> <20071220163402.GB46470@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting David O'Brien <obrien@FreeBSD.org> (from Thu, 20 Dec 2007 =20
08:34:02 -0800):

> On Thu, Dec 20, 2007 at 09:23:55AM +0100, Alexander Leidinger wrote:
>>>   Also set LATEST_LINK so 'pkg_add -r linux_base' works.
>>
>> I'm indifferent between "good idea" and "I don't care": Why do you want
>> to do such a pkg_add?  Shouldn't "pkg_add -r <app>" do the right thing
>> (add the right linux_base or tell what the right linux_base is)?
>
> This change does make it so one can add the right linux_base.  Without
> it, one must go churning thru /usr/ports/Mk/bsd.port.mk to figure out
> what specific distro is the right app.

This is only true if you want to add it by hand, instead of letting =20
the pkg tools tell you which one to download. What I would like to =20
know is, if you are adding it by hand and then using a linux program =20
which is not available as a port, or if you install a linux program =20
from ports/pkg by installing all the prerequisite by hand.

I'm asking this, because normally it doesn't make sense to install =20
linux programs as packages. The ports download binary files anyway, =20
and there's no compiling or some other time consuming operation =20
happening. The time spent to install a port is more or less the same a =20
the time spend installing a pacakge. I know that some systems don't =20
have /usr/ports, and I see the benefit of packages there, but I want =20
to understand the problem behind this commit. For programs in our =20
ports collection, you should get told which is the right linux base to =20
install (if missing prerequisites are not installed recursively). The =20
remaining case I'm aware of is when you want to use a program which is =20
not available from ports, the best thing to do would be to do a =20
(local) port of this program.

In most of the cases installing a linux base by hand is the wrong =20
thing to do. And as such I want to know the reasons behind this =20
commit, maybe we need to add some docs to the linux part of the =20
handbook.

Bye,
Alexander.

--=20
%DCL-E-MEMBAD, bad memory
-SYSTEM-F-VMSPDGERS, pudding between the ears

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



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