Re: Confused by what make package should do

From: Matthew Phillips <matthew_at_matthewphillips.info>
Date: Fri, 12 Apr 2024 17:28:11 UTC
On Fri, Apr 12, 2024 at 06:22:17PM +0100, Lexi Winter wrote:
> Matthew Phillips:
> > It definitely is attempting to install in the port I'm working on. The
> > port's Makefile does not do so when just running `make`. Do you have any
> > idea why make package would be trying to install?
> 
> is it trying to install the port itself, or its dependencies?
> 
> it will always try to install the dependencies before building the port,
> but you can pre-install these (as root) before running 'make package',
> after which 'make package' shouldn't require any privileges to run.
> 
> (i am fairly sure i've done it this way in the past, although tbh it's
> been a while since i tested it.)

It's trying to install the port itself. To /usr/local/bin specifically.
It seems like it's running `make install` on the ports Makefile.