<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>144406</bug_id>
          
          <creation_ts>2006-08-19 05:07 0000</creation_ts>
          <short_desc>games-strategy/glest does not use MAKEOPTS</short_desc>
          <delta_ts>2006-08-28 13:00:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>pml.gentoo@mrtvfuencxozd.org</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>pml.gentoo@mrtvfuencxozd.org</who>
            <bug_when>2006-08-19 05:07:35 0000</bug_when>
            <thetext>glest is using jam instead of make.
because of this (probably) MAKEOPTS is not used.

from what I saw,
make and jam have &apos;at least&apos; -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 &quot;jam failed&quot;

by 

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

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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2006-08-19 05:31:29 0000</bug_when>
            <thetext>There is an ebuild on bug #118911 which does, and also has some other fixes.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2006-08-28 13:00:21 0000</bug_when>
            <thetext>Should be fixed by glest-2.0.0-r1, thanks to Tristan Heaven</thetext>
          </long_desc>
      
    </bug>

</bugzilla>