On 2024/09/06 14:04, Stuart Henderson wrote:
> On 2024/09/06 14:00, Stuart Henderson wrote:
> > ===>  Faking installation for nsh-1.2.2
> > install -c -s  -o root -g bin  -m 755 nsh 
> > /pobj/nsh-1.2.2/fake-amd64/usr/local/bin/nsh
> > test -e /usr/local/bin/save.sh || install -m 755 -o root -g bin  
> > /usr/obj/ports/nsh-1.2.2/nsh-1.2.2/save-rw.sh /usr/local/bin/save.sh
> > install: /usr/local/bin/INS@XIeCpSEu4i: Permission denied
> > *** Error 1 in /usr/obj/ports/nsh-1.2.2/nsh-1.2.2 (Makefile:63 
> > 'afterinstall')
> 
> This fixes it:
> 
> -FAKE_FLAGS =   PREFIX=${TRUEPREFIX}
> +FAKE_FLAGS =   DESTDIR=
> 

I'd also add "rm ${PREFIX}/bin/save.sh" to post-install so that
you don't break things if you run "make plist" (otherwise you have
an @sample and a direct file installation to the same file)

Reply via email to