Re: Package a second port (gitlab-ee instead of gitlab-ce)

2024-04-12 Thread Matthias Fechner
Am 12.04.2024 um 09:17 schrieb Gleb Popov: - GL_PROJECT= gitlab-foos + GL_PROJECT= gitlab part makes it use a completely different distfile. The problem is best solved by using FLAVORS, I guess. See https://docs.freebsd.org/en/books/porters-handbook/book/#flavors thanks a lot for this. I have

Re: In some places, WITH_${feature}_PORTS doesn't work

2024-04-12 Thread Tatsuki Makino
Mathieu Arnold wrote on 2024/04/12 15:53: > No, no, you should not do that, :) It is difficult to prioritize when there are two methods, WITH_*_PORTS and WITHOUT_*_PORTS. Perhaps we have experienced even something like "Order allow,deny Allow from ... Deny from ..." :) I wondered if a new variab

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'

Re: Why is the BSD 1-Clause License not supported "out of the box" on FreeBSD?

2024-04-12 Thread Brooks Davis
On Thu, Apr 11, 2024 at 11:48:16PM -0700, Chris wrote: > I'm doing a full sweep of ports missing LICENSE and I continue > to have to jump through additional hurdles to represent the > BSD 1-Clause License in ports that use it. This has been puzzling > be for some time. So I'm asking. Why isn't it r

Re: Why is the BSD 1-Clause License not supported "out of the box" on FreeBSD?

2024-04-12 Thread Chris
On 2024-04-12 09:25, Brooks Davis wrote: On Thu, Apr 11, 2024 at 11:48:16PM -0700, Chris wrote: I'm doing a full sweep of ports missing LICENSE and I continue to have to jump through additional hurdles to represent the BSD 1-Clause License in ports that use it. This has been puzzling be for some

Re: Package a second port (gitlab-ee instead of gitlab-ce)

2024-04-12 Thread Gleb Popov
On Fri, Apr 12, 2024 at 10:56 AM Matthias Fechner wrote: > > https://gitlab.fechner.net/mfechner/Gitlab/-/commit/c6e569cdcd2862fdffa05a73c9ebd8a5a78fa7a7 The ${FLAVOR:U...} expression looks a bit weird to me. You have FLAVOR?= ... in your Makefile, so this var can't really be undefined > But if

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

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 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 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 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 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 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 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 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 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 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 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 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

Unmaintained FreeBSD ports which are out of date

2024-04-12 Thread portscout
Dear port maintainers, The portscout new distfile checker has detected that one or more unmaintained ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. Please consider also adopting this po