From owner-freebsd-ports Sun May 5 12: 0: 6 2002 Delivered-To: freebsd-ports@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-43.dsl.lsan03.pacbell.net [63.207.60.43]) by hub.freebsd.org (Postfix) with ESMTP id CC6B237B405; Sun, 5 May 2002 11:59:58 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 60B4466DC8; Sun, 5 May 2002 11:59:58 -0700 (PDT) Date: Sun, 5 May 2002 11:59:58 -0700 From: Kris Kennaway To: Maxim Sobolev Cc: ports@FreeBSD.org Subject: Re: [RFC] Improving dependency registration procedure for ports Message-ID: <20020505115958.E25341@xor.obsecurity.org> References: <200205051348.g45DmjI20055@vega.vega.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="xJK8B5Wah2CMJs8h" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200205051348.g45DmjI20055@vega.vega.com>; from sobomax@FreeBSD.org on Sun, May 05, 2002 at 04:48:45PM +0300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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