From nobody Sun Dec 18 01:31:05 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 4NZQKV45R4zswxm for ; Sun, 18 Dec 2022 01:31:26 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2016.outbound.protection.outlook.com [40.92.53.16]) (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 4NZQKV04x1z3qS6 for ; Sun, 18 Dec 2022 01:31:25 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iMHBYJhKeMtEJGB8ObDBQWZj7ZIavOZqlbr4kWBeqpURxu5YaChRQqwO68nkQ8oka/tI+pmc42edxxbdIHNifyA9qNx8L+Un4MfN2J6kfkWisNuHHFk/TJ8cOTdPZrin1Mg+qqNzH+NSaavxzO2Omu/soapbWU0ZRP82ZP4Q+sgHWfnfyyVcPvJav9Gsh6mQEyYXcSr2JEulKIz9lhVSPkkrq8C28lEToSchckWnnAC4EO6UWAooMadgoFerjkd4B7fQSi8IXVZNnnlY9nl1nxF14XNJJgqucG4iW4hJfa4NWygm92neSZpuj5ejulIQ8FUdbLQHHYnukUfHyUz+ug== 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=7tos9Yn4RYBEy3S5UmucxalhPQzl8rnq4WJvBNIz3/s=; b=AFLqRx5wVfja800Q4gfhn3EUt+yLQ4Bu73DFjinIQV1i1yw6Vwfw54df00g2UxbNqx+fKkO/Tg5rH3aHQWPt9hg0skKOy1PkDQAKjVC3f0NET5PSRx9r7qsrXkzSBeKhAIa/+m3yP52dm1kWLtO7N5DGA7xeAix1IEW9oWfhG4yvCOzBGgFR1AsBYRG18qnXWo5VlAArw4E+8j3OU3HJ6gEh7Q+DIw+B+Evfuz1BC6FpjdFcdwcn+AAny9XY8PNMgt+3JqMSqD3qSagQsISByWieQwrWPjxCHPOpYfNtQyTZ04Mlx+jm/V8NQbaA9RDXioqzSJ+QI2nhhFDAGAEiNA== 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=7tos9Yn4RYBEy3S5UmucxalhPQzl8rnq4WJvBNIz3/s=; b=ffISFT+tWvKNxxxygRPgOSaVTaiIEzl88EJHwdCV5V9Y2J7AAbt208DOxxLhAUKf72idiV/pJuLAtpkGUIJGGXU8es4WeVtZCsSaYKVwdEkQ9V8Kva5vGeCZOt7uT/KjrTWYcy83FvTrIZCETqGBInfZQ5CNsk+AAq/OBNSdLpuWr2NzQYh6oKEH62o32J9joseFEWRyowjwJ2ltJF1blARwOTAOusjgPmJIU7tBdwe2vE1AHYXGxfNcSjQDdYYLi/x2UkHhEpTlT6BB9qwWdETCnjBbeh9Av4F/pb7ScR7znbpKXqhJdg6vUcvpMVn3jVaHo0gY8TXnQxSY4Ba7cA== Received: from PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) by TYZPR03MB5827.apcprd03.prod.outlook.com (2603:1096:400:122::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Sun, 18 Dec 2022 01:31:21 +0000 Received: from PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::cfcf:c96:dd73:132]) by PSAPR03MB5639.apcprd03.prod.outlook.com ([fe80::cfcf:c96:dd73:132%3]) with mapi id 15.20.5924.016; Sun, 18 Dec 2022 01:31:21 +0000 Subject: Re: How do I depend on a port regardless of its flavor? To: Mel Pilgrim , freebsd-ports@freebsd.org References: <93d4c94a-c8dd-f4e6-b910-619f07e61ae2@bluerosetech.com> From: Tatsuki Makino Message-ID: Date: Sun, 18 Dec 2022 10:31:05 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [YRe0z5I9GNzACf/RUnDzmBQsbktFVVBh] X-ClientProxiedBy: TYBP286CA0032.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:10a::20) To PSAPR03MB5639.apcprd03.prod.outlook.com (2603:1096:301:66::13) X-Microsoft-Original-Message-ID: <006507ef-404e-775a-67c2-d207a0425d15@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: PSAPR03MB5639:EE_|TYZPR03MB5827:EE_ X-MS-Office365-Filtering-Correlation-Id: 034487b3-d15b-47b9-af9b-08dae0979081 X-MS-Exchange-SLBlob-MailProps: BDG1u3cCCl07XWLuO2JXLzwkM+6wo7unaCwchAdVnEIE05MBoERNtVehTWeB76fnxbFfE8+5Ea14D5w+mrnJxE8f17wxW/62qiRtdDhS+qtEcZ02v6tAVJKj3FJP1cBnNFeR3Mnb0mo0LpOIShAVN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JFUG1ZekJHaWhHRGp5OXhZSFlwWFArOC9CYkdN?= =?utf-8?B?Zlk4S2NxSzlWbUMrQklZRXExQ0Vid0xKV2JIL29veWVOWlpkS0luNS9JaHg0?= =?utf-8?B?YzhDU1FGQTM1allheXhwNVdJWDN3Vnp0cU40OXpBZFk5ZzFqRnJVS0g3Zm95?= =?utf-8?B?c1YyZGE1WTE1TTJSWllkVHJ5VFRmcmRLT043dkQ0NlZtdjAxSGM1VXVaVEJz?= =?utf-8?Q?WvTkUHDOJ5VG56iCgA=3D?= X-OriginatorOrg: sct-15-20-4734-24-msonline-outlook-c0b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 034487b3-d15b-47b9-af9b-08dae0979081 X-MS-Exchange-CrossTenant-AuthSource: PSAPR03MB5639.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2022 01:31:21.1710 (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: TYZPR03MB5827 X-Rspamd-Queue-Id: 4NZQKV04x1z3qS6 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Mel Pilgrim wrote on 2022/12/17 20:19: > No, that's the point I've been getting at: it needs to work regardless of the flavor installed. > No, that is making it flavor-specific.  It just changes the dependency to whatever is installed at build time, not creating a dependency that will work with an as-yet-unknown flavour. > We appear to be miscommunicating about this.  The port that depends on the flavoured post cannot know ANYTHING about which flavor is or will be installed.  Not only is that knowledge is entirely outside the port's baliwick, it isn't even knowable yet.  The user needs to be able to swap out the flavor at will via pkgs and still have this dependency work without manual intervention. Hmmm, since depending on any FLAVOR to work fine would mean depending on files and commands that exist no matter which FLAVOR is installed... I think it means that the method of specifying PKGNAME and version range cannot be used when depending on a port that changes PKGNAME{PREFIX,SUFFIX} by FLAVOR. > I'm not sure how else to phrase this, so if this still isn't clear please do say so. Since my text is also generated by a translation tool, I apologize if there are any strange words or grammar. Regards.