Re: how to see order of make targets steps in ports tree?

From: Moin Rahman <bofh_at_freebsd.org>
Date: Thu, 14 Mar 2024 19:35:29 UTC

> On Mar 14, 2024, at 7:55 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote:
> 
> Is there a way to see the order of the executed steps by "make"?
> 
> tl;dr: I know "make" will run many targets like fetch, checksum, extract, patch... but I would like to see some verbose info about these steps, mainly what is the order of the steps when I run "make".
> I tried to create some patch to one the port and it seems like "shebangfix" is run before "patch" but I don't know how to see what is true order of the targets.
> 
> Kind reagards
> Miroslav Lachman
> 


❯ rg --no-filename '^_USES_patch' Mk | sort
_USES_patch+=	190:pathfix
_USES_patch+=	200:dos2unix
_USES_patch+=	210:fix-shebang
_USES_patch+=	290:gnome-pre-patch
_USES_patch+=	600:charsetfix-post-patch
_USES_patch+=	650:post-patch-erlang
_USES_patch=	701:cabal-post-patch