diff options
Diffstat (limited to 'development/valgrind/valgrind.SlackBuild')
-rwxr-xr-x[-rw-r--r--] | development/valgrind/valgrind.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild index 12447cc6f4..2c5a0b8336 100644..100755 --- a/development/valgrind/valgrind.SlackBuild +++ b/development/valgrind/valgrind.SlackBuild @@ -3,9 +3,10 @@ # Slackware build script for valgrind # Written by Kyle Guinn <elyk03@gmail.com> # Updated by Peter Wang <novalazy@gmail.com> +# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org> PRGNAM=valgrind -VERSION=3.7.0 +VERSION=${VERSION:-3.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -45,7 +46,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 cd $PRGNAM-$VERSION || exit 1 chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find . \ +\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ +-exec chmod 755 {} \; -o \ +\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ +-exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |