diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2016-09-12 08:38:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-12 08:38:54 +0700 |
commit | 4e7c837f4d3b0f9aac147451613f438fb7ca2e88 (patch) | |
tree | c499fd7cf871a2e261e8492a450017128fdefc34 /network/razor-agents | |
parent | e1cda27128c78052fa3119af0ced9aab6ae08591 (diff) |
network/razor-agents: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/razor-agents')
-rw-r--r-- | network/razor-agents/razor-agents.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/network/razor-agents/razor-agents.SlackBuild b/network/razor-agents/razor-agents.SlackBuild index 136e3278d9066..814bf7acf78c6 100644 --- a/network/razor-agents/razor-agents.SlackBuild +++ b/network/razor-agents/razor-agents.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for razor-agents -# Copyright 2013-2015 Andreas Voegele <andreas@andreasvoegele.com> +# Copyright 2013-2016 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -18,14 +18,14 @@ PRGNAM=razor-agents VERSION=${VERSION:-2.85} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} SRCNAM=$PRGNAM if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -36,8 +36,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -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" @@ -68,7 +68,6 @@ find -L . \ patch -p1 <$CWD/makefile_quoted_vars.diff perl Makefile.PL \ - PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 |