aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-BerkeleyDB
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-BerkeleyDB')
-rw-r--r--perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
index c82ed06908c3e..99279263a40a9 100644
--- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
+++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild
@@ -29,7 +29,7 @@
PRGNAM="perl-BerkeleyDB"
VERSION=${VERSION:-0.52}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
@@ -87,6 +87,7 @@ make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true