network/polipo: Update doinst.sh + switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Brenton Earl 2018-03-24 23:25:40 +00:00 committed by Willy Sudiarto Raharjo
parent b18d48ae71
commit c7c801993b
2 changed files with 7 additions and 3 deletions

View File

@ -18,5 +18,9 @@ if [ -e etc/rc.d/rc.polipo ]; then
mv etc/rc.d/rc.polipo.new.incoming etc/rc.d/rc.polipo.new
fi
if [ -x /usr/bin/install-info ]; then
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/polipo.info.gz 2> /dev/null
fi
config etc/rc.d/rc.polipo.new
config etc/polipo/config.new

View File

@ -31,7 +31,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
@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="CHANGES COPYING INSTALL README"
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"