Date: Sun, 01 Sep 2013 09:49:37 +0300 From: David Naylor <dbn@freebsd.org> To: Bryan Drewery <bdrewery@freebsd.org> Cc: svn-ports-head@freebsd.org, Alexey Dokuchaev <danfe@freebsd.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r325807 - in head: . Mk Message-ID: <2131634.G81FAWrTEc@dragon.dg> In-Reply-To: <5221FA9D.7020005@FreeBSD.org> References: <201308311356.r7VDu8N8094811@svn.freebsd.org> <20130831141013.GA27765@FreeBSD.org> <5221FA9D.7020005@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2939983.Mf9WZlMFG6 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" On Saturday, 31 August 2013 09:15:57 Bryan Drewery wrote: > On 8/31/2013 9:10 AM, Alexey Dokuchaev wrote: > > On Sat, Aug 31, 2013 at 01:56:08PM +0000, Bryan Drewery wrote: > >> New Revision: 325807 > >> URL: http://svnweb.freebsd.org/changeset/ports/325807 > >> > >> - Add USE_PACKAGE_DEPENDS_ONLY which will try installing dependencies > >> > >> from existing packages and not fallback on building from source. > >> > >> This is useful for package building tools such as poudriere and > >> tinderbox > >> to avoid building from source and confusing the build log, if a > >> dependency > >> failed to build for some reason. > > > > I actually don't quite see the use for any of them. As for the build log, > > if I understand correctly what you're describing, usually it's *good* to > > "confuse" the log, as it's an indication of wrongly spelled _DEPENDS line. > > > > Am I missing some really warranted usage scenario for these knobs? > > > > ./danfe > > make build-depends USE_PACKAGE_DEPENDS > This installs dependencies from packages if present, else, fallback on > source. > > make build-depends USE_PACKAGE_DEPENDS_ONLY > This installs dependencies from packages only. > > It has nothing to do with misspelling anything. > > These are used to install dependencies from packages using the ports > framework. The alternative is to have the package building tool install > the dependencies themselves, which tinderbox _and_ portbuild do wrong! > Why reinvent the wheel. Let the ports framework install depenencies with > 'build-depends', and use packages from already built. Are you are referring to ports-mgmt/portbuilder? In which case I would like to clarify that while the default behaviour is this, it can be changed using the '--method' argument. Also, portbuilder passes NO_DEPENDS to the build and install stages, managing the installation of dependencies itself. Regards --nextPart2939983.Mf9WZlMFG6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEABECAAYFAlIi8ZQACgkQUaaFgP9pFrIKSQCfXvUo1V9vYQutauUcMHbbpVcK jgoAn0WVkDpAQGpirV2T1LuofUf53HxZ =ZY2e -----END PGP SIGNATURE----- --nextPart2939983.Mf9WZlMFG6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2131634.G81FAWrTEc>