aboutsummaryrefslogtreecommitdiff
path: root/audio/easymp3gain
diff options
context:
space:
mode:
Diffstat (limited to 'audio/easymp3gain')
-rw-r--r--audio/easymp3gain/easymp3gain.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/easymp3gain/easymp3gain.SlackBuild b/audio/easymp3gain/easymp3gain.SlackBuild
index 56cf0ddd776d..d0eb25a11e32 100644
--- a/audio/easymp3gain/easymp3gain.SlackBuild
+++ b/audio/easymp3gain/easymp3gain.SlackBuild
@@ -34,12 +34,13 @@ LCL=${LCL:-gtk2} # otherwise "qt"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i386 ;;
+ i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if ! [[ "$ARCH" = "x86_64" || "$ARCH" = "i386" ]]; then
+# 2023-05-16: DW: use a pattern to allow all x86
+if [ "$ARCH" != "x86_64" ] && [[ $ARCH != i?86 ]]; then
printf "\nThis won't build on $ARCH.\n\n"; exit 1
fi