From 0edc246dd96b72f920ce62943b2c37b879dcaef3 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 1 Oct 2012 09:15:04 +0200 Subject: system/gtk-vnc: Enforced -j1 clearing jobs call from the MAKEFLAGS. Signed-off-by: Matteo Bernardini --- system/gtk-vnc/gtk-vnc.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'system/gtk-vnc') diff --git a/system/gtk-vnc/gtk-vnc.SlackBuild b/system/gtk-vnc/gtk-vnc.SlackBuild index a98983f1442e..607177ca0f9a 100644 --- a/system/gtk-vnc/gtk-vnc.SlackBuild +++ b/system/gtk-vnc/gtk-vnc.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=gtk-vnc VERSION=${VERSION:-0.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -57,6 +57,9 @@ find $PRGNAM-$VERSION \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Cut away jobs number from the MAKEFLAGS +MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g") + # We will build both the gtk+3 and gtk+2 libs with -j1 to avoid surprises # To avoid building the gtk3 version, pass GTK3=no to the script if [ "${GTK3:-yes}" = "yes" ]; then -- cgit v1.2.3