Re: Ports Makefile rules install vs do-install

2021-05-28 Thread Tatsuki Makino
Xavier Humbert wrote on 2021/05/28 17:43: > Everything is fine, staging is OK do-install target is invoked by stage target. (make -C /usr/ports/some/where -V _STAGE_SEQ) So I don't think do-install will be executed if stage is completed. And the target to force stage to be rerun is restage.

Re: Ports Makefile rules install vs do-install

2021-05-28 Thread Xavier Humbert
On 28/05/2021 10:38, Tatsuki Makino wrote: What happens if make restage is executed? Everything is fine, staging is OK Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer https://www.amdh.fr

Re: Ports Makefile rules install vs do-install

2021-05-28 Thread Tatsuki Makino
What happens if make restage is executed?

Re: Ports Makefile rules install vs do-install

2021-05-28 Thread Xavier Humbert
On 28/05/2021 09:32, Gleb Popov wrote: > Do you have > > .include http://bsd.port.mk>> > > at the end of your Makefile? Yes, obviously. There were a bunch of comments before, so I forgot to mention it Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer https://www.

Re: Ports Makefile rules install vs do-install

2021-05-28 Thread Gleb Popov
On Fri, May 28, 2021 at 10:24 AM Xavier Humbert wrote: > The problem is : > * target "do-install" is not invoked if I call make install. > * calling manually "make do-install" stages the port correctly. > * if I rename this target to "install", it complains about > "work/rudder-agent-6.2.7/Makefi

Ports Makefile rules install vs do-install

2021-05-28 Thread Xavier Humbert
Hi, This is only my second port, the first has never been released. So please be indulgent. I'm porting rudder agent (https://www.rudder.io) to FreeBSD. My Makefile is very simple : PORTNAME=     �  rudder-agent DISTVERSION=    6.2.7 CATEGORIES=        sysutils MASTER_SITES=    https://git