Skip site navigation (1)Skip section navigation (2)
Date:      10 Oct 2000 21:47:21 -0400
From:      Nat Lanza <magus@cs.cmu.edu>
To:        Jeremy Lea <reg@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: adding '-gnome' and '-gtk' to package names
Message-ID:  <uoclmvwdu8m.fsf@hurlame.pdl.cs.cmu.edu>
In-Reply-To: Jeremy Lea's message of "Tue, 10 Oct 2000 18:20:14 -0700"
References:  <uoc1yxoh817.fsf@hurlame.pdl.cs.cmu.edu> <20001010182014.R30468@shale.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Lea <reg@FreeBSD.ORG> writes:

> No.  These are very important.  They tell you when optional support has
> been added for a port.

While I agree that being able to tell which optional support has been
added for a port, I think the package's name is entirely the wrong
place to store this information. The name's too overloaded -- to list
the files installed by the 'foo' port, you need to know exactly which
version of the foo package is installed, which revision of the port it
is, and now which optional features were built. Sure, you can get that
by grepping through the output of pkg_info, but that's an ugly hack.

If I want to know what optional features are installed for the port
foo, which is cleaner? 'pkg_info foo', or 'pkg_info | grep foo' edited
and fed to pkg_info again?

Storing arbitrary package metadata in /var/db/pkg is easy, and can be
done in a backwards-compatible way; why not do that instead of storing
the data in the package's name?

> For now - define WITHOUT_ALL in /etc/make.conf and you won't see any
> problems.

When you say "won't see any problems", what do you mean? Will I get
gnome support in sawfish and xmms without the package name changing,
or will they be built without any optional features?


--nat

-- 
nat lanza --------------------- research programmer, parallel data lab, cmu scs
magus@cs.cmu.edu -------------------------------- http://www.cs.cmu.edu/~magus/
there are no whole truths; all truths are half-truths -- alfred north whitehead


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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