Date: Sun, 18 Dec 2022 10:31:05 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: Mel Pilgrim <list_freebsd@bluerosetech.com>, freebsd-ports@freebsd.org Subject: Re: How do I depend on a port regardless of its flavor? Message-ID: <PSAPR03MB5639D0BB573B99D4D038D341FAE49@PSAPR03MB5639.apcprd03.prod.outlook.com> In-Reply-To: <d3a21652-a5a7-3070-f1bd-71ed0f66a70b@bluerosetech.com> References: <ab508f51-3bff-e9e0-9965-3bf29fbaa957@bluerosetech.com> <PSAPR03MB5639635D6DA2E2981C55BE98FAE09@PSAPR03MB5639.apcprd03.prod.outlook.com> <93d4c94a-c8dd-f4e6-b910-619f07e61ae2@bluerosetech.com> <PSAPR03MB5639020EA8667DE9B8749FA9FAE79@PSAPR03MB5639.apcprd03.prod.outlook.com> <d3a21652-a5a7-3070-f1bd-71ed0f66a70b@bluerosetech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB5639D0BB573B99D4D038D341FAE49>