From nobody Thu Mar 14 19:44:55 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 4TwdC83FDJz5DhN2 for ; Thu, 14 Mar 2024 19:45:24 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TwdC81QMLz4YC7 for ; Thu, 14 Mar 2024 19:45:24 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vs1-f46.google.com with SMTP id ada2fe7eead31-4765f315f81so51059137.3 for ; Thu, 14 Mar 2024 12:45:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710445522; x=1711050322; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nsQD6xZFsXnpFns1M+GDhK8SZByU/Tfw34gs2CBihY0=; b=QYNfv3EQO54lKJfe8L/NFmOf4jXY9B4BzAeLotmVX70vy1dUTcigPOxv7UiQ0yXNNj kse1FYYdyBTv/clqtgCILzLbCgKBO5ZoDR5WIrL9vboKS+Yp+tkodpf+CtrwzP5tYA5M 2uMgqMC3UXMzXlpaTdXIv0YLbZKQrVzAuDBiDLcdzet5GzH15PR9GfW6w+OAE7xQ5AYR 1///egNdvXWL3keRpb6FsvXDL2fY/MxwjouxBQBR9KRuqsHvfWkYLah4n5+Ixm+vUg2r HQ3ylbj5wJ0HF4ViqW73WTbBBKr/krLUmLLwukrBtyvpB20U5mYMwjpDV0zvEo0nsyPs hqSw== X-Gm-Message-State: AOJu0YzJJTm9ZzRdYDiW1Lhul4xSH38sJl4KJD5kHOBlqGbBYymIKROH NSH/l2FHPDz7CQw8SX0rWNzucIupuvqXvgBoua6JGqPLdUhxjqwy3mqN+l2p X-Google-Smtp-Source: AGHT+IEqTGoqKIhDGEHSxxRUpre7s5VX12n9tpmXoLbVHBhROOs/rA1lN6C85kuhno3XLiOT+u3jdQ== X-Received: by 2002:a05:6102:f09:b0:475:feef:ea92 with SMTP id v9-20020a0561020f0900b00475feefea92mr1507191vss.21.1710445522094; Thu, 14 Mar 2024 12:45:22 -0700 (PDT) Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com. [209.85.221.177]) by smtp.gmail.com with ESMTPSA id j18-20020ab02512000000b007de1ce20329sm146328uan.29.2024.03.14.12.45.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 12:45:21 -0700 (PDT) Received: by mail-vk1-f177.google.com with SMTP id 71dfb90a1353d-4d40ca07bf6so388439e0c.3 for ; Thu, 14 Mar 2024 12:45:21 -0700 (PDT) X-Received: by 2002:a1f:13d5:0:b0:4d4:2931:7d4d with SMTP id 204-20020a1f13d5000000b004d429317d4dmr1032383vkt.5.1710445521546; Thu, 14 Mar 2024 12:45:21 -0700 (PDT) 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 References: <610f900f-658f-474d-885a-abbe709a00f7@quip.cz> In-Reply-To: <610f900f-658f-474d-885a-abbe709a00f7@quip.cz> From: Gleb Popov Date: Thu, 14 Mar 2024 22:44:55 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: how to see order of make targets steps in ports tree? To: Miroslav Lachman <000.fbsd@quip.cz> Cc: "freebsd-ports@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4TwdC81QMLz4YC7 On Thu, Mar 14, 2024 at 9:55=E2=80=AFPM 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 > Here is the relevant piece of code: https://github.com/freebsd/freebsd-ports/blob/48aba78cfc9200e236e17781f9445= 6d57c599a69/Mk/bsd.port.mk#L5436 You can also use `make -N` to see actual commands ran by any target.