Date: Sat, 7 Feb 2015 14:52:42 +0200 From: Kimmo Paasiala <kpaasial@gmail.com> To: Matthew Seaman <matthew@freebsd.org> Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Is NO_PKG_REGISTER still supposed to work? Message-ID: <CA%2B7WWSdKETtG050JwCH5uufz4=7yiWx%2BTm5-mxLQQ2MNQKq42g@mail.gmail.com> In-Reply-To: <54D5D34C.20302@FreeBSD.org> References: <CA%2B7WWSe1P13MBmuw-RWFsnhO6KcpSqbX=zthuDB%2BCKAsatMNFA@mail.gmail.com> <54D5D34C.20302@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 7, 2015 at 10:56 AM, Matthew Seaman <matthew@freebsd.org> wrote: > 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 > > Would it be a good idea to remove it completely from bsd.port.mk for clarity and simplifying the code? I can see a few places in the file where it it's used in conditions and those look like no-ops now assuming NO_PKG_REGISTER is not used by anyone anymore. -Kimmo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSdKETtG050JwCH5uufz4=7yiWx%2BTm5-mxLQQ2MNQKq42g>