On Sat, Feb 7, 2015 at 10:56 AM, Matthew Seaman <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
