Is NO_PKG_REGISTER still supposed to work?

Matthew Seaman matthew at FreeBSD.org
Sat Feb 7 08:56:55 UTC 2015


On 2015/02/07 01:31, Kimmo Paasiala wrote:
> From bsd.port.mk:
> 
> # NO_PKG_REGISTER
> #               - Don't register a port installation as a package.
> 
> However, testing this with a port results in the port installation
> performing the staging part only and the final installation from the
> stage directory on to the system being skipped when NO_PKG_REGISTER is
> set. Is this still supposed to work?

I doubt it.  pkg(8) doesn't have the capability to install a package
without updating the package database.  Plus why would you even want to
do that nowadays?  As I recall NO_PKG_REGISTER was a work-around for not
having staging or tools like poudriere where you can build a package
without scribbling on your live system.

	Cheers,

	Matthew




More information about the freebsd-ports mailing list