summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-21 04:07:36 -0400
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:31 +0000
commit21946e16bc62b56822849bce1c52950e5a721de8 (patch)
treefa68ae54e62cb963a18fad3f8a15826b6d570bbb /network
parentdbbdd788a161048d0703e1553fe3d36e0a02a561 (diff)
downloadslackbuilds-21946e16bc62b56822849bce1c52950e5a721de8.tar.gz
slackbuilds-21946e16bc62b56822849bce1c52950e5a721de8.tar.xz
network/ctorrent: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/ctorrent/ctorrent.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/network/ctorrent/ctorrent.SlackBuild b/network/ctorrent/ctorrent.SlackBuild
index 4994bf509f..42ef7c1fac 100644
--- a/network/ctorrent/ctorrent.SlackBuild
+++ b/network/ctorrent/ctorrent.SlackBuild
@@ -31,7 +31,7 @@ PKGVERSION=dnh${VERSION}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS ChangeLog* COPYING NEWS README* UserGuide VERSION"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,7 +71,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Configure and build the sources: use "--with-ssl=no" so that ctorrent uses
-# it's own internal SHA-1 routines and does not have to depend on openssl.
+# its own internal SHA-1 routines and does not have to depend on openssl.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,4 +98,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-