aboutsummaryrefslogtreecommitdiff
path: root/office/pdftk/pdftk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pdftk/pdftk.SlackBuild')
-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 88f6148bd36e1..3259f2d7a1218 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