portupgrade question

Roland Smith rsmith at xs4all.nl
Tue Aug 14 17:25:45 PDT 2007


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 at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070815/8b4cbf86/attachment.pgp


More information about the freebsd-questions mailing list