summaryrefslogtreecommitdiff
path: root/system/passwdqc
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 14:00:24 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:02 +0000
commit0aaa8b7884a1dace3aee5fc3be42cfcbb77b09c7 (patch)
tree622233cdac5f4e94dc01bca1a32e382f0445f038 /system/passwdqc
parentd5100fe4236d88b67e73fc823912eced28a81b80 (diff)
downloadslackbuilds-0aaa8b7884a1dace3aee5fc3be42cfcbb77b09c7.tar.gz
system/passwdqc: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/passwdqc')
-rw-r--r--system/passwdqc/passwdqc.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/passwdqc/passwdqc.SlackBuild b/system/passwdqc/passwdqc.SlackBuild
index 8a0c2dbd8d..db014e5915 100644
--- a/system/passwdqc/passwdqc.SlackBuild
+++ b/system/passwdqc/passwdqc.SlackBuild
@@ -11,7 +11,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +22,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"
@@ -51,7 +51,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Compile the application and install it into the $PKG directory
make utils
make install_lib DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX}
make install_utils DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX}