Date: Thu, 02 Aug 2007 18:17:15 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Henrik Brix Andersen <henrik@brixandersen.dk> Cc: cvs-ports@FreeBSD.org, Pav Lucistnik <pav@FreeBSD.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.port.mk Message-ID: <20070802181715.46yikycm8gc8g8kk@webmail.leidinger.net> In-Reply-To: <20070802141710.GA47628@tirith.brixandersen.dk> References: <200706281553.l5SFr56i099807@repoman.freebsd.org> <20070629094635.b463lcom7wcssg0c@webmail.leidinger.net> <20070802141710.GA47628@tirith.brixandersen.dk>
index | next in thread | previous in thread | raw e-mail
Quoting Henrik Brix Andersen <henrik@brixandersen.dk> (from Thu, 2 Aug 2007 16:17:10 +0200): >> Feature: >> - allow to only register explicit dependencies, disabled by default >> (EXPLICIT_PACKAGE_DEPENDS=whatever_you_want) > > Can you elaborate a bit on this new EXPLICIT_PACKAGE_DEPENDS feature? > Perhaps give a usage example or two? :) What about diffing the output of "make actual-package-depends" and "make actual-package-depends -DEXPLICIT_PACKAGE_DEPENDS"? Simple Example: Port A depends upon B Port B depends upon C Without the feature: Port A registers dependencies to ports B and C With the feature: Port A registers dependendcy to ports B Now think about GNOME/KDE/... and X11: a lot of GNOME/... programs don't link directly to the X11 libs. So if you want to recompile all programs which depend upon a specific X11 lib after an API change, you can not find all programs by grepping around in the dependency list. With the above feature you can do that (modulo bugs in the dependency list), without it you recompile a lot more ports than necessary. We've seen this happen several times in the past. Bye, Alexander. -- "Microwave oven? Whaddya mean, it's a microwave oven? I've been watching Channel 4 on the thing for two weeks." http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070802181715.46yikycm8gc8g8kk>
