Date: Wed, 15 Aug 2007 02:10:37 +0200 From: Roland Smith <rsmith@xs4all.nl> To: freebsd-questions@freebsd.org Cc: Christopher Key <cjk32@cam.ac.uk> Subject: Re: portupgrade question Message-ID: <20070815001037.GA84191@slackbox.xs4all.nl> In-Reply-To: <200708142245.l7EMjQ8o027148@smtpclu-2.EUnet.yu> References: <46C20CB8.3010706@cam.ac.uk> <200708142245.l7EMjQ8o027148@smtpclu-2.EUnet.yu>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Wed, Aug 15, 2007 at 12:40:30AM +0200, Nikola Lecic wrote:
> On Tue, 14 Aug 2007 21:12:40 +0100
> Christopher Key <cjk32@cam.ac.uk> wrote:
>
> > Hello,
> >
> > I've just CVSupped my ports collection and run 'portupgrade -ra'.
>
> Hello Christopher,
>
> 'portupgrade -a' is just enough, '-r' means nothing here.
>
> > One of the ports that was updated was vim, which had originally been
> > installed without X11:
> >
> > # cd /usr/ports/editors/vim
> > # NO_GUI=1 make install clean
> >
> > Now, this option appears to have been lost as I've ended up with a
> > full X11 installation. Is this the expected behaviour, or did I do
> > something wrong?
>
> 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:
Alternatively, you can put the defines in /etc/make.conf. That way it
will be used whatever build/upgrade tool you use;
.if ${.CURDIR:M*/editors/vim*}
NO_GUI=yes
.endif
Note the * after vim, so it will work for all versions.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFGwkR9EnfvsMMhpyURAmkYAJ4mRaPR7nfwNJurn6ZHbOdkNijTHgCeNdRq
i2CAKaF//Z2PPA7+K2hC9GE=
=aj9K
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070815001037.GA84191>
