Date: Mon, 6 Aug 2007 21:51:39 +0400 (GST) From: Rakhesh Sasidharan <rakhesh@rakhesh.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: "Arend P. van der Veen" <apvanderveen@att.net>, freebsd-ports@freebsd.org Subject: Re: portsdb and cvsup Message-ID: <20070806214438.O36390@obelix.home.rakhesh.com> In-Reply-To: <46B750C9.7050108@infracaninophile.co.uk> References: <46B5E0F8.7050405@att.net> <20070806083111.F74284@obelix.home.rakhesh.com> <46B706BF.40000@att.net> <20070806153345.Y6336@obelix.home.rakhesh.com> <46B750C9.7050108@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 Thank you shedding light on that Matthew. I didn't know you could have variables such as these WANT_* ones. Where can I see what all WANT_* options are available for a particular port -- in the port's Makefile itself, or someplace else? A quick clarification: while updating to Emacs 22.1, for instance, /usr/ports/UPDATING asks one to add a line such as "EMACS_PORT_NAME=emacs22" to /etc/make.conf. Does that count as a special macro (and so one should use portsdb -Uu while updating INDEX*.db)? > 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). Thanks for mentioning that. If I ever need to use special macros I know where to look for faster INDEX updating. :) Regards, Rakhesh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070806214438.O36390>