Bug 266092

Summary: Let mail/claws-mail-plugins get PORTVERSION from mail/claws-mail
Product: Ports & Packages Reporter: bsd
Component: Individual Port(s)Assignee: Juraj Lutter <otis>
Status: Closed FIXED    
Severity: Affects Only Me CC: bsd, otis, portmaster
Priority: --- Flags: portmaster: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Introduce mail/claws-mail/Makefile.ver
none
Patch to introduce mail/claws-mail/Makefile.ver renewed after moving WWW from pkg-descr to Makefile portmaster: maintainer-approval+

Description bsd 2022-08-29 06:03:22 UTC
Created attachment 236195 [details]
Introduce mail/claws-mail/Makefile.ver

There is PORTVERSION defined directly in mail/claws-mail-plugins/Makefile at present. Create mail/claws-mail/Makefile.ver to hold this information and use it in both mail/claws-mail-plugins/Makefile and mail/claws-mail/Makefile.claws files. Technically, it is a no change for now, but it makes easier to create new options for both GTK2 and GTK3 (new one) version of Claws Mail and act accordingly in all Claws Mail plugin ports.
Comment 1 bsd 2022-09-14 09:01:00 UTC
Created attachment 236549 [details]
Patch to introduce mail/claws-mail/Makefile.ver renewed after moving WWW from pkg-descr to Makefile

There was recent change to Makefile's in many/most/all ports, so original patch may not apply correctly or at all, thus new version generated against actual port tree.
Comment 2 Chris Hutchinson 2022-10-04 18:48:54 UTC
Comment on attachment 236549 [details]
Patch to introduce mail/claws-mail/Makefile.ver renewed after moving WWW from pkg-descr to Makefile

LGTM Thanks! :-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-06 07:49:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b8ba28871e728343bea7769ca373aed4e882ef1

commit 2b8ba28871e728343bea7769ca373aed4e882ef1
Author:     Milan Obuch <bsd@dino.sk>
AuthorDate: 2022-10-06 07:45:00 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-10-06 07:47:22 +0000

    mail/claws: Rework claws-mail-plugins

    Let mail/claws-mail-plugins get PORTVERSION from mail/claws-mail.

    There is PORTVERSION defined directly in
    mail/claws-mail-plugins/Makefile at present. Create
    mail/claws-mail/Makefile.ver to hold this information and use it in both
    mail/claws-mail-plugins/Makefile and mail/claws-mail/Makefile.claws
    files.

    Technically, it is a no change for now, but it makes easier to create
    new options for both GTK2 and GTK3 (new one) version of Claws Mail and
    act accordingly in all Claws Mail plugin ports.

    Approved by:    Chris Hutchinson (maintainer)
    PR:             266092

 mail/claws-mail-plugins/Makefile   | 4 ++--
 mail/claws-mail/Makefile.claws     | 6 +++---
 mail/claws-mail/Makefile.ver (new) | 1 +
 3 files changed, 6 insertions(+), 5 deletions(-)
Comment 4 Juraj Lutter freebsd_committer freebsd_triage 2022-10-06 07:51:45 UTC
Committed, thanks.