Delete a port

Bob Eager rde at tavi.co.uk
Sat Aug 4 19:02:57 UTC 2018


On Sat, 4 Aug 2018 10:42:36 -0700
Eitan Adler <lists at eitanadler.com> wrote:

> On Sat, 4 Aug 2018 at 08:13, Chris Rees <crees at bayofrum.net> wrote:
> >
> > Hey,
> >
> > On 4 August 2018 15:15:23 BST, Eugene Grosbein <eugen at grosbein.net>
> > wrote:  
> > >04.08.2018 21:03, Romain Tartière wrote:
> > >  
> > >> On Sat, Aug 04, 2018 at 12:28:41PM +0200, Matthias Fechner
> > >> wrote:  
> > >>> ./rmport: svnlog: not found
> > >>>
> > >>> Anyone an idea what is wrong?  
> > >>
> > >> Never used this script, but I guess you are hitting line 390:
> > >>
> > >> |         $EDITOR svnlog
> > >>
> > >> Any chance $EDITOR is not set?  
> > >
> > >It seems, rmport script needs a patch:
> > >
> > >Index: Tools/scripts/rmport
> > >===================================================================
> > >--- Tools/scripts/rmport        (revision 476322)
> > >+++ Tools/scripts/rmport        (working copy)
> > >@@ -39,6 +39,7 @@
> > > # MAINTAINER=  crees at FreeBSD.org
> > > #
> > >
> > >+EDITOR=${EDITOR:-vi}
> > > PORTSDIR=${PORTSDIR:-/usr/ports}
> > > INDEX=${PORTSDIR}/`make -C ${PORTSDIR} -V INDEXFILE`  
> >
> > Thanks both.
> >
> > Feel free to commit, but please use the  absolute path to vi?  
> 
> Why? Would't one want to respect the user's preference when it comes
> to an editor? This preference is implicit when it comes to PATH.
> 
> 

This simply adds vi as a default; it doesn't force it to be used.


More information about the freebsd-ports mailing list