Bug 280529 - emulators/wine-devel: Use minimum instead of fixed LLVM version
Summary: emulators/wine-devel: Use minimum instead of fixed LLVM version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-31 11:11 UTC by Anton Saietskii
Modified: 2024-08-01 12:26 UTC (History)
1 user (show)

See Also:


Attachments
v0 (apply via `git am`) (971 bytes, patch)
2024-07-31 11:11 UTC, Anton Saietskii
vsasjason: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Saietskii 2024-07-31 11:11:58 UTC
Created attachment 252390 [details]
v0 (apply via `git am`)

cc181346de3f0e0477ef3e9a4dd6f002db5892c3 introduced a change with comment "Only devel/llvm17 _and later_ come with necessary include files", but actual USES= doesn't allow later versions.
Attached patch fixes this.
Comment 1 Gerald Pfeifer freebsd_committer freebsd_triage 2024-07-31 12:36:20 UTC
Yes, I wanted to keep things a bit simpler amidst all the changes,
but can (and will) make this change if it is desirable to you.

(I'll just skip the reformatting of the entire USES= clause and only
edit that one line.)
Comment 2 Anton Saietskii 2024-07-31 12:44:36 UTC
(In reply to Gerald Pfeifer from comment #1)
> Yes, I wanted to keep things a bit simpler amidst all the changes,
> but can (and will) make this change if it is desirable to you.
Please don't do this for me, but rather for consistency between comment and actual code (and with the true requirement which is just minimum, not maximum version).

> (I'll just skip the reformatting of the entire USES= clause and only
> edit that one line.)
I guess up to you, but would like to note also that it was not my whim. It's just what portfmt did after I executed that to line changed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-08-01 11:50:32 UTC
A commit in branch main references this bug:

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

commit e20e0ec29d4eb05b145d80675a61950e7c2865da
Author:     Anton Saietskii <vsasjason@gmail.com>
AuthorDate: 2024-08-01 09:45:51 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2024-08-01 11:49:42 +0000

    emulators/wine-devel: Use LLVM 17 as minimum, not fixed version

    PR:             280529

    LLVM 17 and later provide the necessary include files; see
    5f69b17e49 for the original change.

 emulators/wine-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Gerald Pfeifer freebsd_committer freebsd_triage 2024-08-01 12:26:29 UTC
(In reply to Anton Saietskii from comment #2)
> Please don't do this for me, but rather for consistency between comment
> and actual code (and with the true requirement which is just minimum,
> not maximum version).

The code was more specific than the comment, choosing one of the possible
options. And while I had planned to make the code less prescriptive after
a bit of settling period, user feedback, in particular user feedback with
a patch even, matters, so I accelerated this change.

>> (I'll just skip the reformatting of the entire USES= clause and only
>> edit that one line.)
> I guess up to you, but would like to note also that it was not my whim.
> It's just what portfmt did after I executed that to line changed.

Understood. I had done the line break intentionally with the original
change, and in the committed patch the extent of the change is easier
to see.

Thanks for raising this topic and even suggesting a patch, Anton!