From owner-freebsd-ports@FreeBSD.ORG Mon Aug 6 17:52:26 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FAA516A41A for ; Mon, 6 Aug 2007 17:52:26 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4031F13C45B for ; Mon, 6 Aug 2007 17:52:26 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1171371wxd for ; Mon, 06 Aug 2007 10:52:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:from:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:sender; b=dUSsW52IC2Mk8O01FsVCpxyyUID4wHg7S1n0/Ua7gCT2Xal0p39y0U6vPftAlTeEO6EUjJzEE9L22ciHui0+WXil60TQGhky5bcTPABlD2kNWx8/LxV6KRypLhxF46HiyxGaKZQWuU8VLQEXR3p7c8bfPZhNJBGvJfCZqWkz+gc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:sender; b=c2GOXXKyzIe5fWP7OKTijM2Ev+D4qSbzj6dfZB+Ml1+bsrUxjrbtDKPyxf4pcaZS+LoAi8E906fplptKf+HXAOooMIfhIXk6S2Js7hOPYtI5dkKCD/Aw1pLk808RWH0yT6yQbOHJ7e5ThYKF1G8GCNgW82iWpbtiXG0qXAhdWzY= Received: by 10.90.118.12 with SMTP id q12mr5027310agc.1186422744742; Mon, 06 Aug 2007 10:52:24 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.137.21]) by mx.google.com with ESMTPS id r28sm7442789ele.2007.08.06.10.52.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2007 10:52:22 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id CE22F11420; Mon, 6 Aug 2007 21:51:59 +0400 (GST) Date: Mon, 6 Aug 2007 21:51:39 +0400 (GST) From: Rakhesh Sasidharan X-X-Sender: rakhesh@obelix.home.rakhesh.com To: Matthew Seaman In-Reply-To: <46B750C9.7050108@infracaninophile.co.uk> Message-ID: <20070806214438.O36390@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> <46B750C9.7050108@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Rakhesh Sasidharan Cc: "Arend P. van der Veen" , freebsd-ports@freebsd.org Subject: Re: portsdb and cvsup X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 17:52:26 -0000 >> 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