diff options
Diffstat (limited to 'source/l/jemalloc')
-rwxr-xr-x | source/l/jemalloc/jemalloc.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/l/jemalloc/jemalloc.SlackBuild b/source/l/jemalloc/jemalloc.SlackBuild index ced79afc8..ac72ac514 100755 --- a/source/l/jemalloc/jemalloc.SlackBuild +++ b/source/l/jemalloc/jemalloc.SlackBuild @@ -74,9 +74,9 @@ cd $PKGNAM-$VERSION || exit 1 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -92,12 +92,12 @@ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 # No static libraries in package: -find $PKG/usr/lib$LIBDIRSUFFIX -name '*.a' -exec rm -vf {} \; +find $PKG/usr/lib$LIBDIRSUFFIX -name '*.a' -exec rm -vf {} \+ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; +find $PKG/usr/man -type f -exec gzip -9 {} \+ mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a ChangeLog* COPYING* INSTALL README* VERSION \ |