summaryrefslogtreecommitdiff
path: root/source/n/postfix/postfix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/postfix/postfix.SlackBuild')
-rwxr-xr-xsource/n/postfix/postfix.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/n/postfix/postfix.SlackBuild b/source/n/postfix/postfix.SlackBuild
index 54304571..e82b1d43 100755
--- a/source/n/postfix/postfix.SlackBuild
+++ b/source/n/postfix/postfix.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=postfix
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -64,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$(grep "^postfix:x:91:91" /etc/passwd)" = "" -o \
"$(grep "^postfix:x:91:" /etc/group)" = "" -o \