From ffc32a6c25524efd6c60fca173f050b32d148ccf Mon Sep 17 00:00:00 2001 From: ArTourter Date: Thu, 9 Dec 2010 22:16:19 -0600 Subject: [PATCH] office/pdftk: Hardcode "make -j1" to prevent build failure Signed-off-by: Robby Workman --- office/pdftk/pdftk.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild index 88f6148bd3..3259f2d7a1 100644 --- a/office/pdftk/pdftk.SlackBuild +++ b/office/pdftk/pdftk.SlackBuild @@ -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