Re: Confused by what make package should do

2024-04-13 Thread Piotr Smyrak
On Fri, 12 Apr 2024 13:28:11 -0400 Matthew Phillips wrote: > 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 yo

Re: Confused by what make package should do

2024-04-12 Thread Chris
On 2024-04-12 13:03, Matthew Phillips wrote: On Fri, Apr 12, 2024 at 12:57:41PM -0700, Chris wrote: On 2024-04-12 12:50, Matthew Phillips wrote: > On Fri, Apr 12, 2024 at 09:30:14PM +0200, Dag-Erling Smørgrav wrote: > > Kurt Hackenberg writes: > > > Matthew Phillips writes: > > > > It's trying

Re: Confused by what make package should do

2024-04-12 Thread Gleb Popov
On Fri, Apr 12, 2024 at 10:50 PM Matthew Phillips wrote: > install -m 755 snac $(DESTDIR)$(PREFIX)/bin/snac > > Does that sound right? Sounds right to me.

Re: Confused by what make package should do

2024-04-12 Thread Matthew Phillips
On Fri, Apr 12, 2024 at 12:57:41PM -0700, Chris wrote: > On 2024-04-12 12:50, Matthew Phillips wrote: > > On Fri, Apr 12, 2024 at 09:30:14PM +0200, Dag-Erling Smørgrav wrote: > > > Kurt Hackenberg writes: > > > > Matthew Phillips writes: > > > > > It's trying to install the port itself. To /usr/l

Re: Confused by what make package should do

2024-04-12 Thread Chris
On 2024-04-12 12:50, Matthew Phillips wrote: On Fri, Apr 12, 2024 at 09:30:14PM +0200, Dag-Erling Smørgrav wrote: Kurt Hackenberg writes: > Matthew Phillips writes: > > It's trying to install the port itself. To /usr/local/bin specifically. > > It seems like it's running `make install` on the

Re: Confused by what make package should do

2024-04-12 Thread Matthew Phillips
On Fri, Apr 12, 2024 at 09:30:14PM +0200, Dag-Erling Smørgrav wrote: > Kurt Hackenberg writes: > > Matthew Phillips writes: > > > 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. > > From man ports(7): "

Re: Confused by what make package should do

2024-04-12 Thread Dag-Erling Smørgrav
Kurt Hackenberg writes: > Matthew Phillips writes: > > 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. > From man ports(7): "package Make a binary package for the port. The > port will be installed if

Re: Confused by what make package should do

2024-04-12 Thread Kurt Hackenberg
On 2024/04/12 15:16, Matthew Phillips wrote: From man ports(7): "package Make a binary package for the port. The port will be installed if it has not already been." I think you want "make build", also documented in that man page. Thank you Kurt. Does that mean that the porters handbook

Re: Confused by what make package should do

2024-04-12 Thread Matthew Phillips
On Fri, Apr 12, 2024 at 03:06:16PM -0400, Kurt Hackenberg wrote: > On 2024/04/12 13:28, Matthew Phillips wrote: > > > 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. > > From man ports(7): "package Make

Re: Confused by what make package should do

2024-04-12 Thread Kurt Hackenberg
On 2024/04/12 13:28, Matthew Phillips wrote: 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. From man ports(7): "package Make a binary package for the port. The port will be installed if it has not alr

Re: Confused by what make package should do

2024-04-12 Thread Matthew Phillips
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 t

Re: Confused by what make package should do

2024-04-12 Thread Lexi Winter
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 tr

Re: Confused by what make package should do

2024-04-12 Thread Matthew Phillips
On Fri, Apr 12, 2024 at 07:49:02PM +0300, Gleb Popov wrote: > On Fri, Apr 12, 2024 at 7:22 PM Matthew Phillips > wrote: > > > > The porters handbook says: > > > > > Make sure that make package can be run as a normal user (that is, not > > > as root) > > > > However, the default `PREFIX` is /usr/lo

Re: Confused by what make package should do

2024-04-12 Thread Gleb Popov
On Fri, Apr 12, 2024 at 7:22 PM Matthew Phillips wrote: > > The porters handbook says: > > > Make sure that make package can be run as a normal user (that is, not > > as root) > > However, the default `PREFIX` is /usr/local, and a non-root user cannot > install to this folder. `make package` only

Confused by what make package should do

2024-04-12 Thread Matthew Phillips
The porters handbook says: > Make sure that make package can be run as a normal user (that is, not > as root) However, the default `PREFIX` is /usr/local, and a non-root user cannot install to this folder. Adjusting the PREFIX kind of fixes it (partially) but not fully, so I don't know if there'