Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 11:59:58 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: [RFC] Improving dependency registration procedure for ports
Message-ID:  <20020505115958.E25341@xor.obsecurity.org>
In-Reply-To: <200205051348.g45DmjI20055@vega.vega.com>; from sobomax@FreeBSD.org on Sun, May 05, 2002 at 04:48:45PM %2B0300
References:  <200205051348.g45DmjI20055@vega.vega.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--xJK8B5Wah2CMJs8h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, May 05, 2002 at 04:48:45PM +0300, Maxim Sobolev wrote:

> Attached patch should resolve this problem by registering real
> dependencies using bar's origin as a key for looking up name of
> package installed from the bar port.

Yes, this is needed.  Thanks for doing this work!

> Another feature embodied into this patch is the ability to designate
> "replacement" ports for bar using ALT_ORIGINS variable. Imagine
> situation when you have bar and bar-devel port, both of which have
> the same functionality, but the latter being a bleeding-edge
> version of the former. In this case port maintainer could set
> "ALT_ORIGINS=somecat/bar-devel" in somecat/bar/Makefile and make
> all ports that could use either bar or bar-devel depending on bar.
> Then, during package-registration process bsd.port.mk will see
> which one is really installed and generate list of dependencies
> accordingly. This should be very useful for things like XFree86.

I'll have to think some more about this.  I'm not sure how much use it
will actually be.

I'll take a closer look at the patch later.

Kris

--xJK8B5Wah2CMJs8h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE81YEsWry0BWjoQKURAhcFAKCIzYjmw64PcKbYB3jceBMQtC6IAQCfaIeP
c6Eyi0xuGuvM8IDgCQB7xxU=
=so9t
-----END PGP SIGNATURE-----

--xJK8B5Wah2CMJs8h--

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?20020505115958.E25341>