From nobody Thu Mar 14 19:57:25 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TwdT424JRz5Dj3V for ; Thu, 14 Mar 2024 19:57:28 +0000 (UTC) (envelope-from SRS0=fhg4=KU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TwdT419f7z4bf4; Thu, 14 Mar 2024 19:57:28 +0000 (UTC) (envelope-from SRS0=fhg4=KU=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id CB45BD7889; Thu, 14 Mar 2024 20:57:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1710446246; bh=nkC2KlA3ImqcYIIOQGfGBXvLMRmu2v+cgwYDr0g8Nr0=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=BV2Xiq29KxXB4N5UZs2bGndNiMzd/o840AvVOkdnPR8Z7lSq6H7W9p2qcqc2tfCoL wwBvtaLZ6bKH9ubT0xlVmyRwTnMwOk40u8Qz+zquZrRJpvzSIX/wjzxyjTL0Fw3B41 SP2G06kxNMiz/yQds8phNaTSXfX5bS5QIF+Poje0= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id F11BDD7884; Thu, 14 Mar 2024 20:57:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1710446246; bh=nkC2KlA3ImqcYIIOQGfGBXvLMRmu2v+cgwYDr0g8Nr0=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=BV2Xiq29KxXB4N5UZs2bGndNiMzd/o840AvVOkdnPR8Z7lSq6H7W9p2qcqc2tfCoL wwBvtaLZ6bKH9ubT0xlVmyRwTnMwOk40u8Qz+zquZrRJpvzSIX/wjzxyjTL0Fw3B41 SP2G06kxNMiz/yQds8phNaTSXfX5bS5QIF+Poje0= Message-ID: <8f0601e3-c57f-4d67-8047-1c92088e886d@quip.cz> Date: Thu, 14 Mar 2024 20:57:25 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: how to see order of make targets steps in ports tree? Content-Language: en-US To: Moin Rahman Cc: "freebsd-ports@FreeBSD.org" References: <610f900f-658f-474d-885a-abbe709a00f7@quip.cz> <49B3BF7D-E6B0-409B-B37B-F8F5660E099D@freebsd.org> From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <49B3BF7D-E6B0-409B-B37B-F8F5660E099D@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4TwdT419f7z4bf4 On 14/03/2024 20:35, Moin Rahman wrote: > > >> 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 Good to know this grep! Thanks. But where is the step using patches from port's "files" directory? Kind regards Miroslav Lachman