Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250122 - add check for explicit MAKEOPTS clobber
Summary: add check for explicit MAKEOPTS clobber
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PkgCore (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 08:04 UTC by SpanKY
Modified: 2024-03-20 16:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2008-12-07 08:04:54 UTC
unfortunately people seem intent on doing things like:
MAKEOPTS=-j1
this is no good

i know a lot of gnome packages do things like:
MAKEOPTS="$MAKEOPTS -j1"
and while i disagree with it, it certainly makes things simpler (otherwise they'd have to define custom src_compile, etc...)

so repoman should search only for MAKEOPTS where it is set and not incrementally so
Comment 1 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-10-22 14:06:45 UTC
After multiple rereads of this request, I finally understood what was requested here: redefinition of MAKEOPTS in *global* scope! Example for it is [1]

I will send a query to QA team if this is acceptable code?

To find most of such usage in tree, I used:
grep -r . -e '^MAKEOPTS' --include="*.ebuild"


[1] https://github.com/gentoo/gentoo/blob/50e9a89/sci-chemistry/molmol/molmol-2k_p2-r6.ebuild#L52