Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 20:48:48 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Hubert Tournier <hubert.tournier@gmail.com>, ports@freebsd.org
Subject:   Re: how to see order of make targets steps in ports tree?
Message-ID:  <689c9c3c-122a-4823-babc-a0d037f4691c@quip.cz>
In-Reply-To: <8a86080b-6a62-4dbe-8596-e3bc03c4ec63@gmail.com>
References:  <610f900f-658f-474d-885a-abbe709a00f7@quip.cz> <8a86080b-6a62-4dbe-8596-e3bc03c4ec63@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14/03/2024 20:24, Hubert Tournier wrote:
> Hello,
> 
> Check this link:
> 
> https://docs.freebsd.org/en/books/porters-handbook/slow-porting/#slow-work
> 
>  From what I have seen, shebangfix is done during the patch target. You 
> use SHEBANG_FILES to specify which files it needs to affect

I spent a lot of time reading porters handbook to find detailed 
information about this, but it is not there.

The problem is with databases/mysqltuner - upstream broke mysqltuner.pl 
by missing shebang line. I created patch to add back the previous 
"#!/usr/bin/env perl" but it is not later replaced by shebangfix to 
"#!/usr/local/bin/perl" as I expect (probably is shebangfix executed 
before). That's why I would like to know "some magic command" which 
shows me the exact steps executed by "make"

I made another patch that adds FreeBSD shebang:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277703


> Le 14/03/2024 à 19:55, Miroslav Lachman a écrit :
>> 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
>>
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?689c9c3c-122a-4823-babc-a0d037f4691c>