From c7c801993b06fb432dd41b9140eb692b7dbed5c1 Mon Sep 17 00:00:00 2001 From: Brenton Earl Date: Sat, 24 Mar 2018 23:25:40 +0000 Subject: network/polipo: Update doinst.sh + switch to i586. Signed-off-by: David Spencer --- network/polipo/doinst.sh | 4 ++++ network/polipo/polipo.SlackBuild | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'network') diff --git a/network/polipo/doinst.sh b/network/polipo/doinst.sh index cd33693a41..22e39ecac9 100644 --- a/network/polipo/doinst.sh +++ b/network/polipo/doinst.sh @@ -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 diff --git a/network/polipo/polipo.SlackBuild b/network/polipo/polipo.SlackBuild index 9421ff945c..59c96b34b9 100644 --- a/network/polipo/polipo.SlackBuild +++ b/network/polipo/polipo.SlackBuild @@ -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" -- cgit v1.2.3