office/pdftk: Hardcode "make -j1" to prevent build failure

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
ArTourter 2010-12-09 22:16:19 -06:00 committed by Robby Workman
parent df8063e424
commit ffc32a6c25

View file

@ -23,9 +23,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# THANK YOU to Martinezio from LinuxQuestions.org for
# the patch to make this work on Slackware64 13.0
PRGNAM=pdftk
VERSION=${VERSION:-1.44}
BUILD=${BUILD:-1}
@ -73,7 +70,8 @@ chmod -R a-s,u+w,go+r-w .
patch -p1 < $CWD/pdftk-1.44-add_custom_optflags.patch
cd $PRGNAM
make OPT="$SLKCFLAGS" -f Makefile.Slackware-13.1
# Hardcode "-j1" since this fails with multiple make jobs
make OPT="$SLKCFLAGS" -j1 -f Makefile.Slackware-13.1
mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION}
cp -a pdftk $PKG/usr/bin
strip --strip-unneeded $PKG/usr/bin/pdftk 2> /dev/null