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



Reply via email to