Delete a port

Eitan Adler lists at eitanadler.com
Sat Aug 4 17:43:04 UTC 2018


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.


-- 
Eitan Adler


More information about the freebsd-ports mailing list