Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144406 - games-strategy/glest does not use MAKEOPTS
Summary: games-strategy/glest does not use MAKEOPTS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 05:07 UTC by Pascal BERTIN
Modified: 2006-08-28 13:00 UTC (History)
0 users

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 Pascal BERTIN 2006-08-19 05:07:35 UTC
glest is using jam instead of make.
because of this (probably) MAKEOPTS is not used.

from what I saw,
make and jam have 'at least' -j in common.

As I use distcc, this is very usefull. (this will be true even without distcc as  gentoo guide advise to have -j[N] even on single proc pc)

I tried replacing in the ebuild : 

jam || die "jam failed"

by 

JAMOPTS=`echo ${MAKEOPTS} |sed -e "s/.*\(-j ?[0-9]*\).*/\1/"`
jam ${JAMOPTS} || die "jam failed"

it worked very well and save me time.

some other MAKEOPTS (I only use this one) might be usefull, but to be sure, the above code will filter and only keep the one I know works.
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-08-19 05:31:29 UTC
There is an ebuild on bug #118911 which does, and also has some other fixes.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-08-28 13:00:21 UTC
Should be fixed by glest-2.0.0-r1, thanks to Tristan Heaven