[Slackbuilds-users] Using SBo with distcc

openpandora at free.fr openpandora at free.fr
Sat Apr 13 22:50:33 UTC 2013


Hi !

I plan to use distcc to compile a lot of SBo packages.
As i know no other method (maybe there's an easier one ?), i use sed to alter the *.SlackBuild.sbopkg :

This sed job will replace the "make $NUMJOBS" with "make CC=distcc $NUMJOBS"

sed '/NUMJOBS/s/make/make CC=distcc/g' /var/lib/sbopkg/SBo/*/*/*/*.SlackBuild.sbopkg

But i don't know how to replace the lines with "make" only.

Any tips ?


More information about the SlackBuilds-users mailing list