Hello, Please find attached updated port's tarball with suggested fixes. One deviation from kn's tarball is removal of `patches/patch-nlay` file and doing shebang fix using LOCALBASE with `post-extract` target. Said patch leaves literal `#!${LOCALBASE}/bin/bash` in installed `nlay` script and breaks it.
Thanks everyone for taking time to review and advise the work. Special thanks to kn@ for coaching and guidance that made this first attempt at porting software to OpenBSD pretty painless. Best, -ljuba On 13.03, Klemens Nanni wrote: > From: Klemens Nanni <k...@openbsd.org> > To: Ljuba Nedeljkovic <ljuba....@gmail.com> > Cc: > Bcc: > Subject: Re: [New] nnn-1.7 > Reply-To: > In-Reply-To: <20180311203948.wqkdu5kxbhlrg...@lada.probisvet.io> > > On Sun, Mar 11, 2018 at 09:39:48PM +0100, Ljuba Nedeljkovic wrote: > > On 10.03, mitchell wodach wrote: > > > I get this error when I run "make test" > > > > > > openbsdcurrent# make test > > > ===> Regression tests for nnn-1.7 > > > gmake: *** No rule to make target 'test'. Stop. > > > *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2777 > > > '/usr/ports/pobj/nnn-1.7/.test_done') > > > *** Error 1 in /usr/ports/myshit/sysutils/nnn > > > (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'test') > > > > > > Try adding NO_TEST=Yes. to your Makefile > > > > Fixed. New tarball is attached to mail with most remarks. > Almost there. With GH_* set you can leave DISTNAME as described in > Makefile.template or bsd.port.mk(5) for that matter. > > See my attached tarball fixing this besides some whitespace issues and > other small nits; I've also taken care of the completion scripts. > > /usr/ports/infrastructure/bin/portcheck also tells if your port seems > fine, in that case it would warn you about an empty line in PLIST.
nnn-1.7.tar.gz
Description: Binary data