aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/ClusterSSH/ClusterSSH.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/ClusterSSH/ClusterSSH.SlackBuild b/network/ClusterSSH/ClusterSSH.SlackBuild
index 245cd886b393e..056e4872a62c0 100644
--- a/network/ClusterSSH/ClusterSSH.SlackBuild
+++ b/network/ClusterSSH/ClusterSSH.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=ClusterSSH
VERSION=${VERSION:-4.01_05}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="App-${PRGNAM}"
@@ -87,6 +87,10 @@ perl Build.PL \
--install_path bindoc=/usr/man/man1 \
--install_path libdoc=/usr/man/man3
+# Avoid being Perl version dependent
+sed -i -r -e "s,^(#!/usr/bin/perl).*$,\1," $PKG/usr/bin/*
+chmod 755 $PKG/usr/bin/*
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done