diff options
author | Brenton Earl <brent@exitstatusone.com> | 2018-03-24 23:25:40 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-31 07:41:28 +0700 |
commit | c7c801993b06fb432dd41b9140eb692b7dbed5c1 (patch) | |
tree | e22138cd185d71b3ce7ac9173f2292fe6655d854 | |
parent | b18d48ae7186b4bba6d4ba13efbfc3cd5fca3a3b (diff) | |
download | slackbuilds-c7c801993b06fb432dd41b9140eb692b7dbed5c1.tar.gz |
network/polipo: Update doinst.sh + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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" |