From owner-freebsd-ports@FreeBSD.ORG Wed May 10 18:22:57 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0643316AA32 for ; Wed, 10 May 2006 18:22:57 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 471DF43D67 for ; Wed, 10 May 2006 18:21:46 +0000 (GMT) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FdtJd-0007ZV-Of for freebsd-ports@freebsd.org; Wed, 10 May 2006 20:21:42 +0200 Received: from r5j60.chello.upc.cz ([86.49.9.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 May 2006 20:21:41 +0200 Received: from martinkov by r5j60.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 May 2006 20:21:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: martinko Date: Wed, 10 May 2006 20:21:16 +0200 Lines: 44 Message-ID: References: <20060508200926.GA6005@daemons.gr> <1147119806.18944.59.camel@ikaros.oook.cz> <20060508203709.GA32661@daemons.gr> <747dc8f30605090333s39680f91l79a2beddd2f8b829@mail.gmail.com> <20060509144751.GU3099@numachi.com> <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5j60.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060506 SeaMonkey/1.0.1 In-Reply-To: <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com> Sender: news Subject: Re: ports structure and improvement suggestions 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: Wed, 10 May 2006 18:22:57 -0000 Scot Hetzel wrote: > On 5/9/06, Brian Reichert wrote: >> On Tue, May 09, 2006 at 07:33:11AM -0300, Renato Botelho wrote: >> > On 5/8/06, Sideris Michael wrote: >> > >Says who? I know it is not the right way to keep my KNOBS saved, but >> > >nobody prevents me from >> > >defining a knob somewhere in a Makefile. Plus, I used it just to >> provide >> > >an example of a way >> > >to do port customization. >> > >> > You can use /etc/make.conf to do it: >> >> Isn't this what pkgtools.conf is for? >> >> > # Vpopmail >> > .if ${.CURDIR:N*mail/vpopmail}=="" >> > RELAYCLEAR=40 >> > WITH_SUID_VCHKPW=yes >> > .endif >> >> MAKE_ARGS = { >> ... >> 'mail/vpopmail' => 'RELAYCLEAR=40 WITH_SUID_VCHKPW=yes', >> ... >> } >> > The problem with pkgtools.conf (and all the other port management > tools) is that it only works for the port that you are currently > building. If that port has dependancies, the settings in > pkgtools.conf for the dependancies are not applied to the dependent > port. Instead you need to build the dependent ports first. > > Where as putting the variable into make.conf, will allow the dependent > port to always build with that setting. > > Scot > -- why is it so ?? i discovered this some time ago but have always been wondering why does it work this "unlogical" way.. m.