aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJK Wood <joshuakwood@gmail.com>2022-02-12 15:35:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-14 08:06:52 +0700
commit5c6e9106da3443c66f5247c5333e1379e6a441eb (patch)
tree6b0e55e124a35967d5f707efe89ab30f4ac04ec5
parent704bb4a1315b268ffdb1ebdcb0cfc103e748d99b (diff)
ham/twhamqth: Use -fcommon. i486->i586. Fix README.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--ham/twhamqth/README12
-rw-r--r--ham/twhamqth/twhamqth.SlackBuild11
2 files changed, 11 insertions, 12 deletions
diff --git a/ham/twhamqth/README b/ham/twhamqth/README
index 485fb5dd1809b..4717b2ed94707 100644
--- a/ham/twhamqth/README
+++ b/ham/twhamqth/README
@@ -1,10 +1,10 @@
-This program uses a free XML feed from the HamQTH.com website of Petr,
-OK2CQR. His callsign database has over 1.3 million callsigns and is very
-fast, returning the station information in just a few seconds. Thanks to
+This program uses a free XML feed from the HamQTH.com website of Petr,
+OK2CQR. His callsign database has over 1.3 million callsigns and is very
+fast, returning the station information in just a few seconds. Thanks to
Petr for a great service.
-Given a ham radio callsign, twHamQTH will display the name, address,
-city and country of the station. All of the station data can be use
-by other programs.
+Given a ham radio callsign, twHamQTH will display the name, address,
+city and country of the station. All of the station data can be use by
+other programs.
You'll need a free HamQTH.com login to use this software.
diff --git a/ham/twhamqth/twhamqth.SlackBuild b/ham/twhamqth/twhamqth.SlackBuild
index 2928049bae0fd..152871a2e2693 100644
--- a/ham/twhamqth/twhamqth.SlackBuild
+++ b/ham/twhamqth/twhamqth.SlackBuild
@@ -24,13 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=twhamqth
VERSION=${VERSION:-2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
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
@@ -48,8 +48,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"
@@ -77,8 +77,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \