diff options
Diffstat (limited to 'source/ap/at/at.SlackBuild')
-rwxr-xr-x | source/ap/at/at.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/ap/at/at.SlackBuild b/source/ap/at/at.SlackBuild index 02082e75..b646ab41 100755 --- a/source/ap/at/at.SlackBuild +++ b/source/ap/at/at.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,20 +23,20 @@ PKGNAM=at VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # 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" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then @@ -55,7 +55,7 @@ mkdir -p $TMP $PKG cd $TMP rm -rf at-$VERSION tar xvf $CWD/at-${VERSION}.tar.?z* || exit 1 -cd at-$VERSION +cd at-$VERSION || exit 1 chown -R root:root . find . \ @@ -72,7 +72,7 @@ chown daemon:daemon /var/spool/at{jobs,spool} CFLAGS="$SLKCFLAGS" \ ./configure \ --mandir=/usr/man \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux || exit 1 # Does not like parallel builds: make || exit 1 |