Re: PortsDB: a program that imports the ports tree into an SQLite database
Date: Thu, 05 Jan 2023 10:31:52 UTC
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