Page MenuHomeFreeBSD

Mk/bsd.port.mk: Append also flavored COMMENT
AbandonedPublic

Authored by otis on Jun 1 2021, 11:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 20 2024, 4:02 PM
Unknown Object (File)
Jan 9 2024, 2:00 AM
Unknown Object (File)
Dec 20 2023, 4:22 AM
Unknown Object (File)
Dec 5 2023, 10:22 AM
Unknown Object (File)
Nov 10 2023, 11:37 PM
Unknown Object (File)
Oct 9 2023, 10:35 PM
Unknown Object (File)
Aug 19 2023, 2:07 PM
Unknown Object (File)
Jun 27 2023, 2:43 PM

Details

Reviewers
None
Group Reviewers
portmgr
Summary

Append also flavored COMMENT, in order to make it consistent with
other variables.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 39637
Build 36526: arc lint + arc unit

Event Timeline

otis requested review of this revision.Jun 1 2021, 11:00 AM

I don't like it, FLAVORS are just changing the way something is built, it is not going to change what the software is.

If you really think your port absolutely needs to change what it is supposed to be, there are a handful of ports that already change their COMMENT according to FLAVORS, look at devel/binutils or devel/git.

In D30592#687089, @mat wrote:

I don't like it, FLAVORS are just changing the way something is built, it is not going to change what the software is.

If you really think your port absolutely needs to change what it is supposed to be, there are a handful of ports that already change their COMMENT according to FLAVORS, look at devel/binutils or devel/git.

Is this not missing the point? git, binutils, emacs, mg are changing COMMENT because the port is built with a different feature set and it is the first thing users see when they run pkg search. It helps disambiguate the packages beyond just the package names.

It's about

git-2.31.1_1                   Distributed source code management tool
git-gui-2.31.1_1               Distributed source code management tool
git-lite-2.31.1_1              Distributed source code management tool
git-svn-2.31.1_1               Distributed source code management tool
git-tiny-2.31.1_1              Distributed source code management tool
mg-6.8.1,1                     Small, fast Emacs-like editor
mg-static-6.8.1,1              Small, fast Emacs-like editor

vs

git-2.31.1_1                   Distributed source code management tool
git-gui-2.31.1_1               Distributed source code management tool (GUI enabled flavor)
git-lite-2.31.1_1              Distributed source code management tool (lite flavor)
git-svn-2.31.1_1               Distributed source code management tool (SVN enabled flavor)
git-tiny-2.31.1_1              Distributed source code management tool (tiny flavor)
mg-6.8.1,1                     Small, fast Emacs-like editor
mg-static-6.8.1,1              Small, fast Emacs-like editor (rescue(8) version)

EDIT: In case it wasn't obvious, I'm in favor of adding this helper.