From owner-freebsd-questions@FreeBSD.ORG Wed Aug 15 08:10:32 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD2AB16A418 for ; Wed, 15 Aug 2007 08:10:32 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-2.EUnet.yu (smtpclu-2.eunet.yu [194.247.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4B40113C467 for ; Wed, 15 Aug 2007 08:10:32 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-213-51.eunet.yu [213.198.213.51]) by smtpclu-2.EUnet.yu (8.13.6/8.13.6) with ESMTP id l7F8AJEv032092; Wed, 15 Aug 2007 10:10:20 +0200 Message-Id: <200708150810.l7F8AJEv032092@smtpclu-2.EUnet.yu> Date: Wed, 15 Aug 2007 10:05:27 +0200 From: Nikola Lecic To: Rakhesh Sasidharan In-Reply-To: <20070815083210.M54184@obelix.home.rakhesh.com> References: <46C20CB8.3010706@cam.ac.uk> <200708142245.l7EMjQ8o027148@smtpclu-2.EUnet.yu> <20070815083210.M54184@obelix.home.rakhesh.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_20,UNPARSEABLE_RELAY X-AVAS-Spam-Score: -0.7 Cc: freebsd-questions@freebsd.org, Christopher Key Subject: Re: portupgrade question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2007 08:10:32 -0000 On Wed, 15 Aug 2007 08:36:53 +0400 (GST) Rakhesh Sasidharan wrote: > Nikola Lecic wrote: >=20 > > Yes, options are not saved that way and Vim's default is with X11. > > Please make sure that the following lines exist in > > your /usr/local/etc/pkgtools.conf: > > > > MAKE_ARGS =3D { > > 'editors/vim' =3D> 'NO_GUI=3Dyes', > > [... options for other ports ...] > > } > > > > Next time portupgrade will honour it (without -P/-PP options, of > > course). >=20 > As far as I know, portupgrade won't honour this setting vim is > upgraded as a dependency of some other port. (Please correct me if > I'm wrong. I haven't tried this; its just something I read). At least with portupgrade-devel, that doesn't seem true. I read it too, and the source was an unofficial blog. For example, I have: MAKE_ARGS =3D { [...] 'print/apsfilter' =3D> 'PAPERSIZE=3Da4', 'print/ghostscript-gpl' =3D> 'A4=3Dyes', [...] } ghostscript-gpl is a dependency of apsfilter. Now, ghostscript-gpl needed update. I removed apsfilter for this testing purpose and: # portupgrade -NR apsfilter [...] ---> Installing 'apsfilter-7.2.8_3' from a port (print/apsfilter) ---> Building '/usr/ports/print/apsfilter' with make flags: PAPERSIZE=3D= a4 [...] ---> Upgrading 'ghostscript-gpl-8.57' to 'ghostscript-gpl-8.57_1' (print/ghostscript-gpl) ---> Building '/usr/ports/print/ghostscript-gpl' with make flags: A4=3Dy= es A4=3Dyes > So the /etc/make.conf option is better. It is definitively the most universal and IMHO it should appear in the Handbook. I just like to keep all ports/packages upgrading options at the same place (USE_PKGS, MAKE_ARGS, USE_PKGS_ONLY...). BTW, as far as I can recollect, as a global-honouring tool for ports configuration, the most frequently quoted one along these lists was ports-mgmt/portconf. Nikola Le=C4=8Di=C4=87