aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2010-12-09 22:16:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-09 22:16:19 -0600
commitffc32a6c25524efd6c60fca173f050b32d148ccf (patch)
tree5d2984308c71e74d0c7c58dde26592f66be072a5
parentdf8063e42441c4d95b650291a59802e2d5924647 (diff)
office/pdftk: Hardcode "make -j1" to prevent build failure
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--office/pdftk/pdftk.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild
index 88f6148bd36e..3259f2d7a121 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