From a9f8cc8328bc60ed657fb699ed36f443dddc6b90 Mon Sep 17 00:00:00 2001 From: Ray-V Date: Fri, 8 Apr 2016 21:50:07 +0100 Subject: [PATCH] update-3 default NUMJOBS to -j -> let system decide use 'make ${NUMJOBS:-}' terminate function with return --- Apps/knemo/knemo-R14.0.3.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Apps/knemo/knemo-R14.0.3.SlackBuild b/Apps/knemo/knemo-R14.0.3.SlackBuild index 5aab583..76b938a 100644 --- a/Apps/knemo/knemo-R14.0.3.SlackBuild +++ b/Apps/knemo/knemo-R14.0.3.SlackBuild @@ -24,15 +24,16 @@ PRGNAM=knemo VERSION=${VERSION:-R14.0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_tde} PREFIX=/usr -# You may or may not get away with more than -j1, but mostly it just breaks the build: -NUMJOBS=${NUMJOBS:--j1} + Options() { ## Edit or comment out as required +# Set the number of parallel jobs [-jn] to whatever your system will support +NUMJOBS=${NUMJOBS:--j} # let configure find the tqt3 directories QTDIR="" # rename knemo icons to avoid conflict with those in tdeartwork @@ -46,8 +47,7 @@ sed -i 's|||g' src/knemod/interfacetooltip.cpp # SUBDIRS= ar bg br cs cy da de el en_GB es et fr ga gl hu it ja ka lt nl pl pt pt_BR ru rw sk sr sr@Latn sv tr # needs msgfmt - no error message given - uses bash built-in ':' otherwise sed -i 's|SUBDIRS=.*$|SUBDIRS= de en_GB|' translations/Makefile.am -## Bash builtin null command placeholder in case all options are commented out - DO NOT change -: +return } SlackDesc() @@ -208,7 +208,7 @@ CXXFLAGS="${SLKCFLAGS}" --disable-rpath \ --enable-closure - make $NUMJOBS || exit 1 + make ${NUMJOBS:-} || exit 1 make DESTDIR=$PKG install || exit 1 cd -