diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/polipo/doinst.sh | 4 | ||||
-rw-r--r-- | network/polipo/polipo.SlackBuild | 6 |
2 files changed, 7 insertions, 3 deletions
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" |