diff options
Diffstat (limited to 'network/mrtg/mrtg.SlackBuild')
-rw-r--r-- | network/mrtg/mrtg.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/network/mrtg/mrtg.SlackBuild b/network/mrtg/mrtg.SlackBuild index d737c05202ed9..5bb05ec97a95b 100644 --- a/network/mrtg/mrtg.SlackBuild +++ b/network/mrtg/mrtg.SlackBuild @@ -5,7 +5,7 @@ # Written by Ulrich schaefer (us@ulischaefer.net) PRGNAM=mrtg -VERSION=${VERSION:-2.17.2} +VERSION=${VERSION:-2.17.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -65,6 +65,8 @@ CPPFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +sed -i "s/lib\${/lib${LIBDIRSUFFIX}\${/" $PKG/usr/bin/mrtg + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |