Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822096 - dev-libs/libevent misleading "clock-time" USE-flag and/or description
Summary: dev-libs/libevent misleading "clock-time" USE-flag and/or description
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Michał Górny
Depends on:
Reported: 2021-11-06 11:25 UTC by Jaak Ristioja
Modified: 2021-11-07 09:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2021-11-06 11:25:26 UTC
The dev-libs/libevent "clock-time" USE-flag and/or its description is very confusing and misleading.

# quse -D clock-gettime
dev-libs/libevent[clock-gettime] Disable use of clock_gettime even if it is available

So if one wants to disable clock_gettime, the correct way would be to enable the clock-gettime USE-flag, e.g. USE=clock-gettime ?

I recommend the USE-flag be renamed to include a prefix to denote negation, or to negate its semantics so that USE=clock-gettime would enable use of clock_gettime() instead of disabling it.