Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 13:17:42 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Benjamin Kaduk <kaduk@MIT.EDU>
Cc:        svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org, Isabell Long <issyl0@freebsd.org>
Subject:   Re: svn commit: r39468 - head/en_US.ISO8859-1/books/handbook/ports
Message-ID:  <20120829171741.GA5967@glenbarber.us>
In-Reply-To: <alpine.GSO.1.10.1208291302440.861@multics.mit.edu>
References:  <201208291429.q7TET3kL060721@svn.freebsd.org> <alpine.GSO.1.10.1208291302440.861@multics.mit.edu>

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

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 29, 2012 at 01:07:30PM -0400, Benjamin Kaduk wrote:
> On Wed, 29 Aug 2012, Isabell Long wrote:
>=20
> > Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.sgml
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
> > --- head/en_US.ISO8859-1/books/handbook/ports/chapter.sgml	Wed Aug 29 0=
5:59:54 2012	(r39467)
> > +++ head/en_US.ISO8859-1/books/handbook/ports/chapter.sgml	Wed Aug 29 1=
4:29:03 2012	(r39468)
> > @@ -976,6 +976,18 @@ docbook                     =3D
> > 	    <command>make <maketarget>install</maketarget></command> and
> > 	    <command>make <maketarget>clean</maketarget></command>
> > 	    as three separate steps.</para>
> > +
> > +	  <para>When installing a port, using only <command>make
> > +	      <maketarget>install</maketarget></command> from the
> > +	    beginning means there will potentially be many waiting
> > +	    periods between user interaction as the default behaviour
> > +	    is to prompt the user for options.  When there are many
> > +	    dependencies, this sometimes makes building a single port
> > +	    a huge hassle.  To avoid this, first run <command>make
> > +	      <maketarget>config-recursive</maketarget></command> to
> > +	    do the configuration in one batch.  Then run
>=20
> Is this actually true these days?  I seem to recall that (at least=20
> pre-optionsng), if you changed port options so as to add new dependencies=
,=20
> the new dependencies were not included in the config-recursive step,=20
> requiring that 'make config-recursive' was run in a loop until it had=20
> nothing more to configure.
>=20

Unfortunately, this is still true.

Another edge-case is if a dependency were removed by an option selection
(i.e., removing the WITH_APACHE option in lang/php5), the dependent port
will continue to prompt for options even though it is no longer needed.

I've actually been looking into the ugly bits on how this can be
avoided.  I think it would be highly useful for users in cases like
this, and those using Ports Tinderbox for package building.  But, it
seems to be non-trivial...

Glen


--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBCAAGBQJQPk61AAoJEFJPDDeguUajutkIAIJC26EUBh4Ihgh5RAwS2AzG
IpOaehfxTDfIpPjj88dIfY12ys6gmg526YDdWsBrs4CE59jaefINIZ+Lxo4wR8Kr
d+DGQRKk7cxG6oKQeDnwJsVPfMMMEvAN3gr++6rwbzrDY0SDB9up3YZMYVYCTbD6
N9OHsIm7mQcYfL8Jnka0nB/D7ryHaCXP2R2+LGTgprSJWdXNnt4sQz5VzzzERvB3
AYzj5L5VaS9GtbWhBDJ0mMy5oKQbDd8DDOzBH41KqJu6Jz1eblBP9GS40Wj9Uf6a
gbzNp34B1JC1KlwNHi0onUbldSShQMzcsMmLEEWOO/MhHuqj6LrcSxcJKjKGIeI=
=qCS9
-----END PGP SIGNATURE-----

--PEIAKu/WMn1b1Hv9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120829171741.GA5967>