aboutsummaryrefslogtreecommitdiff
path: root/ham/xnec2c
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 00:23:38 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:09 +0000
commitde86074fc9ed4c5eeb73d3683de0267624e2667c (patch)
tree6779950b959e16e94419301afb687397def4d1fb /ham/xnec2c
parentc9b723e7e8fa77325dbb998e0a455fe3a118a1cd (diff)
ham/xnec2c: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ham/xnec2c')
-rw-r--r--ham/xnec2c/xnec2c.SlackBuild6
-rw-r--r--ham/xnec2c/xnec2c.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/ham/xnec2c/xnec2c.SlackBuild b/ham/xnec2c/xnec2c.SlackBuild
index f23590fa85684..57c616d1114b4 100644
--- a/ham/xnec2c/xnec2c.SlackBuild
+++ b/ham/xnec2c/xnec2c.SlackBuild
@@ -27,7 +27,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
@@ -38,8 +38,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
diff --git a/ham/xnec2c/xnec2c.desktop b/ham/xnec2c/xnec2c.desktop
index 00c3659773534..24d4460c3b850 100644
--- a/ham/xnec2c/xnec2c.desktop
+++ b/ham/xnec2c/xnec2c.desktop
@@ -6,4 +6,4 @@ Exec=xnec2c
Icon=xnec2c-icon
Terminal=false
Type=Application
-Categories=Network;HamRadio;Antennas;
+Categories=Network;HamRadio;