summaryrefslogtreecommitdiff
path: root/perl/perl-net-dns
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:52:52 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:43 -0400
commit57552d74f8c4c93e2f5bcfb5d7146b9f7f9a22d3 (patch)
treea53d70e9f7dba35afbd9e994cbcd361ecf945d0b /perl/perl-net-dns
parenta9fe397e22145605764e9d1c9b248344e052eae1 (diff)
downloadslackbuilds-57552d74f8c4c93e2f5bcfb5d7146b9f7f9a22d3.tar.gz
perl/perl-net-dns: Change i486 to i586
Diffstat (limited to 'perl/perl-net-dns')
-rw-r--r--perl/perl-net-dns/perl-net-dns.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-net-dns/perl-net-dns.SlackBuild b/perl/perl-net-dns/perl-net-dns.SlackBuild
index c3536dade3..cbb70831dc 100644
--- a/perl/perl-net-dns/perl-net-dns.SlackBuild
+++ b/perl/perl-net-dns/perl-net-dns.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,8 @@ SRCNAM=Net-DNS
DOCFILES="Changes README"
# LIBDIRSUFFIX not used
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then