Re: PortsDB: a program that imports the ports tree into an SQLite database

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Thu, 05 Jan 2023 10:36:24 UTC
Thanks! It,s importing now.

Yuri <yuri@freebsd.org> escreveu no dia quinta, 5/01/2023 à(s) 10:31:

> Hi Nino,
>
> On 1/5/23 01:50, Nuno Teixeira wrote:
> >
> > /etc/make.conf:
> > PORTSDIR=/work/freebsd/ports/main
> >
> > `portsdb-import`:
> > error: the PORTSDIR environment variable should point to a valid ports
> > tree
> > Usage: /usr/local/bin/portsdb-import <db.sqlite> <file.sql>
> [{sync|async}]
> >
> > Any clues?
>
>
> /etc/make/conf doesn't set environment variables. It sets make variables.
>
>
> You should run:
>
> $ PORTSDIR=/work/freebsd/ports/main portsdb-import
>
>
> Best,
>
> Yuri
>
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)