diff options
-rw-r--r-- | network/smstools3/fixups2.diff | 2 | ||||
-rw-r--r-- | network/smstools3/smstools3.SlackBuild | 11 |
2 files changed, 5 insertions, 8 deletions
diff --git a/network/smstools3/fixups2.diff b/network/smstools3/fixups2.diff index 3f26fcf492c94..d99ee9deee9d7 100644 --- a/network/smstools3/fixups2.diff +++ b/network/smstools3/fixups2.diff @@ -123,7 +123,7 @@ diff -Naur a/scripts/sms3 b/scripts/sms3 LOGFILE="/var/log/smsd.log" -DAEMON=/usr/local/bin/smsd -+DAEMON=/usr/bin/smsd ++DAEMON=/usr/sbin/smsd # A program which turns power off for couple of seconds: -RESETMODEMS=/usr/local/bin/smsd_resetmodems +RESETMODEMS=/usr/bin/smsd_resetmodems diff --git a/network/smstools3/smstools3.SlackBuild b/network/smstools3/smstools3.SlackBuild index b28085d3a4bd6..4936906f92596 100644 --- a/network/smstools3/smstools3.SlackBuild +++ b/network/smstools3/smstools3.SlackBuild @@ -23,15 +23,12 @@ PRGNAM=smstools3 VERSION=${VERSION:-3.1.21} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Maximum number of supported modems -NUM_MODEMS=${NUM_MODEMS:-64} - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +39,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" |