Date: Mon, 06 Aug 2007 17:48:09 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Rakhesh Sasidharan <rakhesh@rakhesh.com> Cc: "Arend P. van der Veen" <apvanderveen@att.net>, freebsd-ports@freebsd.org Subject: Re: portsdb and cvsup Message-ID: <46B750C9.7050108@infracaninophile.co.uk> In-Reply-To: <20070806153345.Y6336@obelix.home.rakhesh.com> References: <46B5E0F8.7050405@att.net> <20070806083111.F74284@obelix.home.rakhesh.com> <46B706BF.40000@att.net> <20070806153345.Y6336@obelix.home.rakhesh.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rakhesh Sasidharan wrote: > > On Mon, 6 Aug 2007, Arend P. van der Veen wrote: > >> Thanks for your story. The only reason we used -U was that we were not >> sure what they meant got special macros. The man page for portsdb >> status that you only use -U if you have special macros in >> /etc/make.conf. All we have in there is version information so I >> think that does not apply to use. > > Same here! Didn't make sense to me what the manpage meant by special > macros. A couple of examples on the net seemed to be using the ''-U'' > switch and so I too gave it a shot. But it took an awfully long time and > so I didn't try it again. Since I wasn't doing anything fancy, I figured > I probably don't have special macros. :) > > If you ever figure out what special macros are or in which situations > the ''-U'' switch is useful, please do let me know. Having "Special Macros" is (I am almost certain) a strange way of saying that you have set various make variables which will affect the dependency tree for a port. Eg. if you were to have the following in /etc/make.conf: WANT_OPENLDAP_SASL= yes Then you'ld find that any port needed LDAP functionality would depend on openldap-sasl-client-2.3.37 rather than openldap-client-2.3.37 In which case, in order to have an accurate INDEX, you'ld need to build one yourself rather than downloading the default one. Building an INDEX from scratch is pretty time consuming, although there are faster alternatives for incrementally updating it (if I may be excused for blowing my own trumpet: ports-mgmt/p5-FreeBSD-Portindex). However, practically speaking, you don't need to have any INDEX present to install a port via 'make install'; neither do you need an INDEX present if you use the portmaster scripts. portupgrade will generally work quite adequately in most cases if you just use the default INDEX -- you may have to manually fix up some of the recorded dependencies using pkgdb -- and 'make search' in /usr/ports won't give you an accurate response. Cheers Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGt1DJ8Mjk52CukIwRCOOuAJ91MNP+bL5TNswMTF+PhLOjra64LwCfTqfQ IVn0ZjYu0UBhWBGoK8sTrLU= =twV2 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B750C9.7050108>