From nobody Thu Mar 14 21:03:28 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 4Twh490rx3z5DfyM for ; Thu, 14 Mar 2024 21:54:33 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from SINPR02CU002.outbound.protection.outlook.com (mail-southeastasiaazolkn190110001.outbound.protection.outlook.com [IPv6:2a01:111:f403:d402::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Twh476Pgjz4rTQ for ; Thu, 14 Mar 2024 21:54:31 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=VR3ccBjW; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 2a01:111:f403:d402::1 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TBQV8iL38ehfRmwYB7ZUDw7Xwq0+189E25HLfeVq3t+ZHQR28DmKATI2Pxhi971Yh53R0gIQVapiB5VwPRS0bqvL92DHGlUyNfAl5gFuy3mivQ4h4nDudXUWJjGzL4ZEPkVKteMfslvpWqRDfy4klN6/PI7jH84IOr33gfiMhDYJyukzZQ0MgyZxNmYCA6NLDcdXgTRO4WBijOCARx/jFZPrCXIX5KuTIf1a0aI6iHpDcX4A1/nLBZ89jBCwrJqy7W7O4wHhc10JnUmk7lD2CWtp8Y+Z2C6ENibbklieiQwW01Bl5M5PgPEFJBP/Ck8thP8BAzczvzoBwLbNO0Iikg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wzVpAcwCI3Ayomr5xHvkCvQQXlzVI5yMQ8w6aUVMHVg=; b=TKyUn7OozW9LGfj/bGOPB8BwV4tkaWLVXYPFyJgtiT43HztH5I6kTXRdme1CAZrUL89phJe7BXr/pBVXtNuV0nauaXu9zsl8qkD+/y7ozY1QXtHuCTY4m+/UbSsROW2ZbnZqeMwkqMgNGB1ktaAYaezT/6pb6G5TbI5uAHoQbPsvFv0uPUw66ZzS93W+nCMm0GT/9xImLSRAKHnqxFu3FcBI/QMLzmAzecYEqBP2q6k6mRE3oVtMPdQjWKjLUrGzW/jjlvl4TgLr8cWG4ACeFNe6B4tL/vgcBmdfMan4DZzmaI7gH4ZwMKiRcprLdL9lZbDGFSWITaLQdRIwiQorIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wzVpAcwCI3Ayomr5xHvkCvQQXlzVI5yMQ8w6aUVMHVg=; b=VR3ccBjWcVVXsNXh5y5NVCn08JTU8z82ZzQsOAPhanQIqdpON6luUXjeQB5diP6JEiIZkZD3oFI1KQyr5I13ct86tvroshV3lmN8rtfDYptumAOeK/AHYFNi7Yfjywb+eIBizCZdu/eR8oHiBTJpNKGAxCsXFEn3sy2nZL5R/97My7iGNcFwLxGj8ismgQK7VLn3rzjwuPKfhXgBrOHQe8Ydb483BDJOZy53z6jUI7uvvpdX3P3QNbxnkM2MuQk6lDO9r69BpqeulsXqn56bl0aAgkZAi6N8o8y0+9yY3RbYExn6P3Ji5hq5+U3AhSA5j2M+ca4sFngh973svnzgLA== Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) by SEYPR01MB5743.apcprd01.prod.exchangelabs.com (2603:1096:101:1ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Thu, 14 Mar 2024 21:54:24 +0000 Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::1537:ef5d:9dab:474e]) by SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::1537:ef5d:9dab:474e%5]) with mapi id 15.20.7386.017; Thu, 14 Mar 2024 21:54:24 +0000 From: Tatsuki Makino Subject: Re: how to see order of make targets steps in ports tree? To: "freebsd-ports@FreeBSD.org" References: <610f900f-658f-474d-885a-abbe709a00f7@quip.cz> Message-ID: Date: Fri, 15 Mar 2024 06:03:28 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <610f900f-658f-474d-885a-abbe709a00f7@quip.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [fWSkoTYPfvqvg9PivFW7vQXwrhTjArhB] X-ClientProxiedBy: TYWPR01CA0033.jpnprd01.prod.outlook.com (2603:1096:400:aa::20) To SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) X-Microsoft-Original-Message-ID: <4ac74523-b757-7b8e-afae-5044d32705d1@hotmail.com> 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SI2PR01MB5036:EE_|SEYPR01MB5743:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c301602-ab08-4417-b439-08dc44714fdb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WTjEkrzBT1M0j3XQO+RHUcuqTTu0ukgiyIWKBtftaEoOQkngIDQVeYSJC9NS1zVP2gDGDxPS9mcCSA+RVHD62bFwWBS/QI0LEjIOo6fUrsYynPg0Sa2Ldsq6P87lM5srpvbTAqftoyvYhCdhxL/b+izfJIlr70oO+6U+K06E/VXTcIic/1YHzFQLCUZz4abIE/vldb697hfDEwRua/Ul2wW1ZHmBCMyibJrd8O4O0sgA6jB6I9y5KweoIFcHtDKLiSB4fRY+0U/TpW9srSFXbEYQZmUZgl+FgxZmLmCGB59MzRoug/Y4nlhyh5kuyKquD8iE9CqTvqktK5uWxmR/z0L2mOH7WQb+nAPKuKtLt1IL0tHWezF9j5ke48to3RQOAsrVX5OLGRxp8XzsNA0s25B3slc4y+qzH4zqXjIbWfhRQvohqhUWUSITV9fMDU62mKPEP5Jl89OB7IQP7AZeYTsbjEz6kQgt/49Q57b+lL9Q/X5AY2j9mLdRwKg0mxoT4t64ju4ihglp7dUEYETpb7rUin/zX++sco52JnDhoLOobv23bCHJdm2I3JQY7EJdhGwxRY9AVjJJGeN9sM5twb6nAJsSiiyw4DXSEpc2SCedS48BTGES0B8LK/DsBO2q X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TlBkeVdjZXZxQXdLQ1JCcjdXTzZESjRNQjJjK2V6dmxLVlNnejM5NjgrTTUr?= =?utf-8?B?V2lZZ3ZlQWhqTTMySDVRZ0NUVWxiOXZIQXlVUFlZSUxYTVNQWlFqcjVzRm11?= =?utf-8?B?djRIMjhBUlArTklJVzZMa3Fmaml4QkQ3d0EwdEFOcDM0NEdwakNQeElVTzBp?= =?utf-8?B?ZFBIZXBWOGY4RHVnU2FCVnNxRkU3U1VkZ1p5WXpVdkIzU3V3dXVR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TRObjI2VU1NaG1hKzBIRHJFRzVROVBCR0pI?= =?utf-8?B?Z2M4VkoxNklqZXEwS0x0eFdKd3FVK0tYbTRhdmdTWjdYZnRaTjVJMHM4REZ5?= =?utf-8?B?enBoN2VodE9VcVZrSmlINUh3THNjaEdpQ1dUSkZmajI3L3hvaDV5RUFSRmFS?= =?utf-8?B?bWR5NUtaTm84N2Y4STdNRjErUlIvUFJEVG9OOENENTlxOFhPd2kyTVVEcnZn?= =?utf-8?B?T2VRd2t5b09Fc3F3d1YrTUZ5Z0F5bEpmeHVHNmRyakFnbXhxZjd0YVNsZDNB?= =?utf-8?B?ZW51dG9FR2IxNyt4UW9QVWxZVW1HaFAyckRwOStxZ1FrTlpUT2dTWm9ldUth?= =?utf-8?B?SHkvd3VPWFl2RUs2VWgvZS82Qlh5NnJrbmVFNDZwTk9ITXhMcndyUS94Mjla?= =?utf-8?B?ZkFwbE9LV2RmZUJvaWJoS2VKczhOZ0w3WlVtME1VUlY4cXRHSmJyQ0hrdFNI?= =?utf-8?B?NG1oY0ZuZTkrOXJkVFYvelhYMWlhS0srckh6NTFwOCtSRUVCM1h1VElFRlhJ?= =?utf-8?B?K3BKNUtSZkkrT0hRRkU2dys1cEd5cE1tMStZRW9MVUtOQ1F5SWVsNWltRExo?= =?utf-8?Q?iV0Yw1dE/hlBsu/MWEdt?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 8c301602-ab08-4417-b439-08dc44714fdb X-MS-Exchange-CrossTenant-AuthSource: SI2PR01MB5036.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 21:54:24.4808 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR01MB5743 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.49 / 15.00]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403:c000::/51]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MIME_TRACE(0.00)[0:+]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f403:d402::1:from]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; DKIM_TRACE(0.00)[hotmail.com:+] X-Rspamd-Queue-Id: 4Twh476Pgjz4rTQ Hello. Various answers have already been given, however, here is a command that can produce interesting values on this. make -C /usr/ports/ports-mgmt/pkg -V _TARGETS_STAGES make -C /usr/ports/ports-mgmt/pkg -V _SANITY_SEQ -V _PKG_SEQ -V _FETCH_SEQ -V _EXTRACT_SEQ -V OMITTED_HEREAFTER:P The -d option of make also displays some rather interesting things. make -C /usr/ports/ports-mgmt/pkg -n -d g1 In addition, variables such as _USES_target can be used to add interesting behavior. For example, in the patch phase, rewriting by replace_cmd may be performed in addition to normal patching. It makes make makepatch not smart to use. It can be stopped by defining the following targets. ...I think I wrote that somewhere before :) _USES_patch+= 501:stop-patch stop-patch: .NOTMAIN .PHONY false I just don't know if it helps :) Regards.