Re: git: 98582ae673d8 - main - mail/opensmtpd-table-sqlite: new port
Date: Tue, 21 Jan 2025 06:51:25 UTC
Le Mon, Jan 20, 2025 at 01:19:38PM +0000, Pietro Cerutti a écrit : > > That gets rid of patching and USES= autoreconf and you probably also > > want USES= localbase:ldflags instead of localbase . Looking at Porters > > Handbook you should likely also make use of PKGNAMEPREFIX instead of > > having opensmtpd- in PORTNAME. > > I don't see the point of using PKGNAMEPREFIX. I don't think it is up to you, the porter's handbook makes it explicit so the choice wether using PORTNAME or PORTNAME and PKGNAMEPREFIX is made for you. PORTNAME has to be set to the software's name. Looking at <https://github.com/opensmtpd/table-sqlite>, it refers to "TABLE_SQLITE(5)", "table_sqlite", or "SQLITE TABLE CONFIG FILE". So the software name is "table sqlite". So, what the porter's handbook tells you to do is `PORTNAME=table-sqlite` and `PKGNAMEPREFIX=opensmtpd-`. Regards, -- Mathieu Arnold