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>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Henrik Brix Andersen <henrik@brixandersen.dk> (from Thu, 2 Aug =20 2007 16:17:10 +0200): >> Feature: >> - allow to only register explicit dependencies, disabled by default >> (EXPLICIT_PACKAGE_DEPENDS=3Dwhatever_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 =20 "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 =20 don't link directly to the X11 libs. So if you want to recompile all =20 programs which depend upon a specific X11 lib after an API change, you =20 can not find all programs by grepping around in the dependency list. =20 With the above feature you can do that (modulo bugs in the dependency =20 list), without it you recompile a lot more ports than necessary. We've =20 seen this happen several times in the past. Bye, Alexander. --=20 "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 =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?20070802181715.46yikycm8gc8g8kk>