Solved [Solved] Make package from ports put into usr/ports/packages

I've noticed that when I try to make a package from ports using the command make package the package is placed in /usr/ports/port_name/work/pkg/. Is there a way to place the package in /usr/ports/packages/All?
 
Re: Make package from port and place it in /usr/ports/packag

It's because you don't have a /usr/ports/packages directory. Create it and the package will be saved where you expect.
 
Re: [solved]Make package from ports put it in/usr/ports/pack

If you're like me and would prefer to keep your ports tree mounted read-only (writeable only via a custom update script for example) set PACKAGES or PKGREPOSITORY to a writeable directory that already exists. More details in ports(7).
 
Re: [solved]Make package from ports put it in/usr/ports/pack

kpa said:
If you're like me and would prefer to keep your ports tree mounted read-only (writeable only via a custom update script for example) set PACKAGES or PKGREPOSITORY to a writeable directory that already exists. More details in ports(7).
You also want to set WRKDIRPREFIX to a writable directory or you won't be able to build ports.
 
Back
Top