From nobody Sat May 28 00:59:23 2022 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 AAF241B4B26F for ; Sat, 28 May 2022 00:59:37 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2022.outbound.protection.outlook.com [40.92.107.22]) (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 4L93Gw5M8gz4cg3; Sat, 28 May 2022 00:59:36 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FcZ2CSHvHp13bDaY3/PBJu6Xf04UVLHWGf6kz3UQ4P3Ey3crKfAi2rPSt/sIkMMgQEHCRe/3k5aRLgLUy7NAJ+Cv1/J8TfpzFmbX0SBSnnBRqjkdPE4ofp9INE0vrBNJNOBOHkPv6olAMF7EGDo5rT+evXcA7fSIdTcjKQ8Z87zxBn7AOzTzO71O7o7V9MFtk6PdIAGamdpO8sc2pYCu4U3CSqrMFeSCOw1NqvtgWii28hSinJAIUaCu0KyZVSAgl7TrHzWVdKUxTbI4GCNgvglDyqMFkbukfzek8KdEMr5nQyWZaSZ/6QqLbP6J0dWiFoiO235uvIhREzHNXDaVug== 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=rc3CLIUDci2qqVrXrAgYlD8+17r9G0rOEnysqbiDi0U=; b=UEJBbyWsSvQCOnL/IDFcSTPA5D8Xw/qOXZqr2IJLLn4p2PE3vc8XP8Q2HLm1gYJlCqf5xJYtViZ7NHH/2fbGHiGHkZlWMtzc7cx8gBSn49dNuArBx+6E7NBLS/qvrYOC5ixymbBWJf34zVhVw42/tSb05vtztZkwunNJnGzcYv8Ul+m4NahordQK+QMu0EUtm37/m9TFvl07E7ogHmsAPZOdhwuoDNRNMu3FizqIwQ/LI3/DLhTp2jFXeMtbXqjC9ec/fR1Zob5V/fGP0xYULwFzoCd7rUul2qIT0Aw+4zWvGST4vsFdUL/nM92gGfbTFPnDUEbhM21LrXXaX7Djkw== 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=rc3CLIUDci2qqVrXrAgYlD8+17r9G0rOEnysqbiDi0U=; b=bVG2THDRz86ZCQhHG49kYE8a+go1i5861AaDs3xmg5euCUErebuNO/lIC5pEMwIsIHDB7D/yPTBAHgS6fmQzVE3eoDqdM3Xzpc2xitrOwJs6+tTH9uaW0ne/GtpUl+OryznIXtrfkWUYbUMxOJCrmLqXtKTRR5hjlctFC+cHwzqM5wnZyBKYY02faPbsABMxXOa+dYcO+1949LYle5x9WS6U25wP3BBwfu2g+K9Cz1973WV2+mJdclPKyLEh0QDSBWC62E/S2PRlomoiQhRNSOxCvU1t7zyIcKl3cUMeC41liLN8mYS9UTbkHPxqjCRBQjdhuMazEOvHLARfcYckCQ== Received: from PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) by PU1PR03MB3222.apcprd03.prod.outlook.com (2603:1096:803:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.6; Sat, 28 May 2022 00:59:27 +0000 Received: from PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::f414:937b:30ab:5137]) by PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::f414:937b:30ab:5137%4]) with mapi id 15.20.5314.006; Sat, 28 May 2022 00:59:27 +0000 Subject: Re: graphics/gpu-firmware-kmod and PORTS_MODULES - how to!? To: Rozhuk Ivan , freebsd-ports@freebsd.org, manu@FreeBSD.org, pkubaj@FreeBSD.org References: <20220528032824.11638f38@rimwks.local> From: Tatsuki Makino Message-ID: Date: Sat, 28 May 2022 09:59:23 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <20220528032824.11638f38@rimwks.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [8MvzOhZajYiBTbCo3BQBewHxAFVLWLLD] X-ClientProxiedBy: TYCPR01CA0018.jpnprd01.prod.outlook.com (2603:1096:405::30) To PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) X-Microsoft-Original-Message-ID: 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-Office365-Filtering-Correlation-Id: 1ba141af-a9ac-49b2-05be-08da40455052 X-MS-Exchange-SLBlob-MailProps: 6H6McBavlAgslkIVMrANCKpBFmjtb46qi7RWdgcgObQlPemCXzC+4u3pRyWe7hqh8ocWFhgg3lcjMTKTkfVA53wSdFIf5uPTtU0OsC4Oj0a5yw91h7es5p+M7yrvz99BFC2/lQ9Bn5SgrPJjtZwg9OGKKCE/ZFjvSoJs+o8cyQRR8q5sL8Tfr26Fzr8U8ANEPARv0YussMDawkxOVdsteXKxyrtrirT7l6meBTsg4oqOF/+LTPL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Nnp5bVd1ZmxCa0Zl?= =?utf-8?B?TEtWakdJTVA2a2owSGtqeWRqOHQ2OUIwYS9lSjBuTnRpTXc4VCt6QnQyY0pR?= =?utf-8?B?QlF4d2t1TnZNRHArMkF6Vk01WGxWdUU3ZFhjc0RLL210dlg2cjZEY3ptdHdq?= =?utf-8?B?UnRQaUhacDYvdFJMTzduOW5WeTJIbFllc1RNRFEzby9qRUtkeklsMVorVk5x?= =?utf-8?B?cDlrUGVrc01aelFPNGRVWndsRjcvQTUwNmRoMU44N1JPWTB2N2dLZFhmdzFW?= =?utf-8?B?TW1lMm5ZZW9nL2FPekFIVnhIVmM2d1o2MkFad1NEZG1ydnQ1RmVrS1pnTCtn?= =?utf-8?B?RngzN25Lc3BWWnIzVFcyS04vUFJlMTh4MXJ6cnFrUE5HY0t3NjR5WFROV1V5?= =?utf-8?Q?gTxzynVhsvOB7sqwOKxTNcTEneXCw+KK?= X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 1ba141af-a9ac-49b2-05be-08da40455052 X-MS-Exchange-CrossTenant-AuthSource: PSAPR03MB5639.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2022 00:59:27.4244 (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: PU1PR03MB3222 X-Rspamd-Queue-Id: 4L93Gw5M8gz4cg3 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=bVG2THDR; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 40.92.107.22 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com X-Spamd-Result: default: False [1.89 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; RCVD_COUNT_THREE(0.00)[3]; SUBJECT_HAS_EXCLAIM(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org,FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.89)[0.887]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.107.22:from]; MLMMJ_DEST(0.00)[freebsd-ports]; SUSPICIOUS_RECIPS(1.50)[] X-ThisMailContainsUnwantedMimeParts: N Hello. My stable/12 was patched as follows. And PORTS_MODULES is PORTS_MODULES=\ graphics/drm-fbsd12.0-kmod\ graphics/gpu-firmware-radeon-kmod@caicos\ graphics/gpu-firmware-radeon-kmod@btc\ graphics/gpu-firmware-radeon-kmod@sumo Regards. diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index cce9fcfd1c6..f6217d38bb8 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -95,7 +95,12 @@ PORTSMODULESENV=\ all: .for __i in ${PORTS_MODULES} @${ECHO} "===> Ports module ${__i} (all)" - cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B clean build + __i="${__i}" ;\ + if [ "$${__i%@*}" = "$${__i}" ] ; then\ + cd $${PORTSDIR:-/usr/ports}/$${__i}; ${PORTSMODULESENV} ${MAKE} -B clean build ;\ + else\ + cd $${PORTSDIR:-/usr/ports}/$${__i%@*}; ${PORTSMODULESENV} ${MAKE} -B "FLAVOR=$${__i##*@}" clean build ;\ + fi .endfor .for __target in install reinstall clean @@ -103,7 +108,12 @@ ${__target}: ports-${__target} ports-${__target}: .for __i in ${PORTS_MODULES} @${ECHO} "===> Ports module ${__i} (${__target})" - cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/(re)?install/deinstall reinstall/} + __i="${__i}" ;\ + if [ "$${__i%@*}" = "$${__i}" ] ; then\ + cd $${PORTSDIR:-/usr/ports}/$${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/(re)?install/deinstall reinstall/} ;\ + else\ + cd $${PORTSDIR:-/usr/ports}/$${__i%@*}; ${PORTSMODULESENV} ${MAKE} -B "FLAVOR=$${__i##*@}" ${__target:C/(re)?install/deinstall reinstall/} ;\ + fi .endfor .endfor .endif