diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-10-01 09:15:04 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-10-01 09:15:29 +0200 |
commit | 0edc246dd96b72f920ce62943b2c37b879dcaef3 (patch) | |
tree | 0da46c7e0aa3c86c515051d0185167105e49f028 /system/gtk-vnc | |
parent | c495ccbe9ac99f5d24fb36d7f96e7a5d0da40721 (diff) |
system/gtk-vnc: Enforced -j1 clearing jobs call from the MAKEFLAGS.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/gtk-vnc')
-rw-r--r-- | system/gtk-vnc/gtk-vnc.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
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 |