summaryrefslogtreecommitdiffstats
path: root/source/ap/sysstat/sysstat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/sysstat/sysstat.SlackBuild')
-rwxr-xr-xsource/ap/sysstat/sysstat.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/ap/sysstat/sysstat.SlackBuild b/source/ap/sysstat/sysstat.SlackBuild
index 5f5c0cfb1..e99cf05ef 100755
--- a/source/ap/sysstat/sysstat.SlackBuild
+++ b/source/ap/sysstat/sysstat.SlackBuild
@@ -28,15 +28,15 @@ BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
@@ -137,9 +137,9 @@ done
# Add crontab example scripts:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION/cron-examples
cp -a \
- crontab sysstat.cron.daily sysstat.cron.hourly sysstat.crond \
- sysstat.crond.sample \
+ cron/*cron* \
$PKG/usr/doc/${PKGNAM}-$VERSION/cron-examples
+rm -f $PKG/usr/doc/${PKGNAM}-$VERSION/cron-examples/*.in
# If there's a CHANGES file, installing at least part of the recent history
# is useful, but don't let it get totally out of control: