gargoyle: only grab the "-jN" option from MAKEOPTS and pass it to jam
authorNikos Chantziaras <realnc@gmail.com>
Tue, 27 Mar 2012 05:41:03 +0000 (27 08:41 +0300)
committerNikos Chantziaras <realnc@gmail.com>
Tue, 27 Mar 2012 05:41:03 +0000 (27 08:41 +0300)
games-engines/gargoyle/Manifest
games-engines/gargoyle/gargoyle-2011.1.ebuild

index f806faa..804a7fa 100644 (file)
@@ -1,3 +1,3 @@
 DIST gargoyle-2011.1-sources.zip 11291660 RMD160 43de562c12a068c5d6f4fab6bb62647faadd0ff3 SHA1 8e01e458e01dd7d20fe5330f95a3e44b7cbc37d6 SHA256 8642ac38add31d47bfd531d4121dc1e956d06895a9352ce573b5007e9cae4634
-EBUILD gargoyle-2011.1.ebuild 2486 RMD160 e215907478044a8c3ae89696995698312c98e468 SHA1 6d0468f35ca83a1b3ab7927563d5c6128dbcca42 SHA256 6e513b75a93068240fdd4410159a4dcd33090b4b2ca851b8e18cf986532c8a7f
+EBUILD gargoyle-2011.1.ebuild 2594 RMD160 8b61684b55afc72decc36ef122d95add97bd61a1 SHA1 9da9a8bc823c02c5413e5d59d597908fbb2cb698 SHA256 f0a763f33145b637471599d115a8dfd9dead0876c405d8e37cc72d56739d4445
 MISC metadata.xml 252 RMD160 8ce3795bac9d4960615a67c32fb3994bfece325f SHA1 dfce1ee8158b18adf66bfee2988b2b1c796443a8 SHA256 76446769792843475165db424def28271c1aabc5d695d29ad30858e8055c7acd
index 855bc50..c50e80a 100644 (file)
@@ -55,11 +55,12 @@ 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 \
-               || die
+               ${jamopts} || die
 }
 
 src_install() {