On 2020/08/21 04:22, Aaron Bieber wrote:
> 
> 
> On Fri, Aug 21, 2020, at 3:41 AM, Mikolaj Kucharski wrote:
> > Hi,
> > 
> > I've looked at github.com/cli/cli and wanted to give it a go, but I'm
> > not familar how to create a port in golang ecosystem.
> > 
> > I've looked at portgen and not sure how to do it with it either :/
> > 
> > I've ran portgen and it failed as follows:
> > 
> > $ env PORTSDIR=/home/mkucharski/openbsd \
> >     /home/mkucharski/openbsd/ports/infrastructure/bin/portgen go 
> > github.com/cli/cli
> 
> I am not 100% sure setting PORTSDIR via env will work. Can you set it via 
> mk.conf to see if it gets further?

I would really recommend people just make a partition for /usr/ports and
save the hassle and potential problems of moving it elsewhere via environment/
mk.conf/attempts with symlinks...

Reply via email to