From owner-freebsd-ports@FreeBSD.ORG Sat Sep 10 23:38:55 2005 Return-Path: X-Original-To: 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 9F18916A41F for ; Sat, 10 Sep 2005 23:38:55 +0000 (GMT) (envelope-from flowers@users.sourceforge.net) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id F264B43D46 for ; Sat, 10 Sep 2005 23:38:54 +0000 (GMT) (envelope-from flowers@users.sourceforge.net) Received: from pd5mr7so.prod.shaw.ca (pd5mr7so-qfe3.prod.shaw.ca [10.0.141.183]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IMM003EIK8XLM40@l-daemon> for ports@freebsd.org; Sat, 10 Sep 2005 17:36:33 -0600 (MDT) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd5mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IMM0053KK8XLJG0@pd5mr7so.prod.shaw.ca> for ports@freebsd.org; Sat, 10 Sep 2005 17:36:33 -0600 (MDT) Received: from [192.168.1.96] (S01060010a72631f9.cg.shawcable.net [68.144.46.209]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IMM0010VK8X6W@l-daemon> for ports@freebsd.org; Sat, 10 Sep 2005 17:36:33 -0600 (MDT) Date: Sat, 10 Sep 2005 17:37:57 -0600 From: Danny MacMillan In-reply-to: <20050910193519.GB81928@pleiades.aeternal.net> To: martin hudec Message-id: <43236E55.5050002@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <4323338D.4080004@wingfoot.org> <20050910193519.GB81928@pleiades.aeternal.net> User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) Cc: ports@freebsd.org Subject: Re: portsdb -Uu error 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: Sat, 10 Sep 2005 23:38:55 -0000 martin hudec wrote: > Hello, > > On Sat, Sep 10, 2005 at 03:27:09PM -0400 or thereabouts, Glenn Sieb wrote: > > # Make options for various ports > > WITH_APACHE2=yes > > > > .undef PERL_VER > > .undef PERL_VERSION > > .undef PERL_ARCH > > .undef NOPERL > > .undef NO_PERL > > > > # For Courier Authlib > > WITH_AUTH_MYSQL=1 > > WITH_AUTH_USERDB=1 > > WITH_AUTHDAEMON=1 > > > > # For ges' wordpress > > WORDPRESS=wordpress > > # added by use.perl 2005-06-29 21:11:27 > > PERL_VER=5.8.7 > > PERL_VERSION=5.8.7 > > NOPERL=yes > > > > # For ImageMagick > > WITH_JPEG=yes > > WITH_TIFF=yes > > WITH_PNG=yes > > > > # SpamAssassin Arguments > > WITH_SPF_QUERY=1 > > WITH_MYSQL=1 > > WITH_TOOLS=1 > > USE_SQLDB=1 > > Just offtopic reply: > > It might be better actually for you to define various compilation > options for ports not in /etc/make.conf but define them while building > that port and later (I assume this is the reason why you have options > in make.conf) during portupgrade you can take them (set them) from > (to) /usr/local/etc/pkgtools.conf. Look for MAKE_ARGS.. these are > arguments and options used during portupgrade. I have a contradictory opinion. I think defining the options in /etc/make.conf is ideal, since it is the only place that the options are guaranteed to be used no matter how you decide to build ports. Whether you use portupgrade, portmanager, or just cd into the port directory and make install, options defined in make.conf will be used. If you do have options that apply only to particular ports you can partition them using the method described in the portmanager man page, to wit: .if ${.CURDIR:M*/mail/p5-Mail-SpamAssassin} WITH_SPF_QUERY=1 WITH_MYSQL=1 WITH_TOOLS=1 USE_SQLDB=1 .endif This allows you to use different make optins depending for each port if you wish. -- Danny MacMillan