gargoyle: use makeopts_jobs from eutils.eclass
authorNikos Chantziaras <realnc@gmail.com>
Tue, 17 Apr 2012 10:17:39 +0000 (17 13:17 +0300)
committerNikos Chantziaras <realnc@gmail.com>
Tue, 17 Apr 2012 10:17:39 +0000 (17 13:17 +0300)
This was introduced to eutils just for us :-)

games-engines/gargoyle/Manifest
games-engines/gargoyle/gargoyle-2011.1.ebuild

index 8452dee..8a83e6e 100644 (file)
@@ -1,3 +1,3 @@
 DIST gargoyle-2011.1-sources.zip 11291660 RMD160 43de562c12a068c5d6f4fab6bb62647faadd0ff3 SHA1 8e01e458e01dd7d20fe5330f95a3e44b7cbc37d6 SHA256 8642ac38add31d47bfd531d4121dc1e956d06895a9352ce573b5007e9cae4634
-EBUILD gargoyle-2011.1.ebuild 2553 RMD160 7b38026f145283cef9bd38b3a729ce2e146f37e3 SHA1 41b744b5e60903b2c5962fa2cb82c12a2c93aa9e SHA256 67a178084b88ba8a38cc5f966e4b9bf8026ecdca5dfd3768c78cdefbc8d8bf6d
+EBUILD gargoyle-2011.1.ebuild 2464 RMD160 79c797a44f4b6b1a84b87228e3d091751a006bda SHA1 175b28ef02ea1bfa256368c2d6f0b98804ed8f88 SHA256 a15ed24ec5912910af9b3c8db98ece2526d44067eb5f1b3867be17f8c497710b
 MISC metadata.xml 252 RMD160 8ce3795bac9d4960615a67c32fb3994bfece325f SHA1 dfce1ee8158b18adf66bfee2988b2b1c796443a8 SHA256 76446769792843475165db424def28271c1aabc5d695d29ad30858e8055c7acd
index bbe9f58..0cae32a 100644 (file)
@@ -52,12 +52,11 @@ src_prepare() {
 }
 
 src_compile() {
-       local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
        jam \
                -sGARGLKINI="${GAMES_SYSCONFDIR}/garglk.ini" \
                -sUSESDL=yes \
                -sBUNDLEFONTS=no \
-               ${jamopts} || die
+               -j$(makeopts_jobs) || die
 }
 
 src_install() {