Hello,
I am trying to see if I can create a prefix in my home directory to hold a different (older) version of a ports tree snapshot. Is this possible?
This gets close but unfortunately I have not found a way to specify the pkg db (/var/db/pkg) and so it conflicts with the current ports tree.
It also asks for root privilege on the make install (so it can write to the pkg db and register the package)
This would be awesome if it would work because it would allow me to easily keep a personal prefix containing old unmaintained ports without the need for a jail.
Best Regards,
I am trying to see if I can create a prefix in my home directory to hold a different (older) version of a ports tree snapshot. Is this possible?
Code:
# Set required variables
$ export PREFIX=/home/kpedersen/local
$ export PORTSDIR=/home/kpedersen/ports
$ export PORT_DBDIR=/home/kpedersen/portsdb
# Compile and install port
$ cd /home/kpedersen/ports/shells/bash
$ make
$ make install
This gets close but unfortunately I have not found a way to specify the pkg db (/var/db/pkg) and so it conflicts with the current ports tree.
It also asks for root privilege on the make install (so it can write to the pkg db and register the package)
This would be awesome if it would work because it would allow me to easily keep a personal prefix containing old unmaintained ports without the need for a jail.
Best Regards,