summaryrefslogtreecommitdiff
path: root/development/mono/mono.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono/mono.SlackBuild')
-rw-r--r--development/mono/mono.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index 3f8c259d92..cf903b3bed 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -5,15 +5,15 @@
# Updated by Andre Barboza <bmg.andre@gmail.com>
PRGNAM=mono
-VERSION=${VERSION:-4.2.2.30}
-MAJORVERSION=${MAJORVERSION:-4.2.2}
+VERSION=${VERSION:-4.4.2.11}
+MAJORVERSION=${MAJORVERSION:-4.4.2}
BIN_VERSION=${BIN_VERSION:-4.2.2.10}
BUILD=${BUILD:-1}
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
@@ -24,7 +24,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -81,6 +81,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
( cd $PKG/etc/mono
mv config config.new
+ sed -i "s|\$mono_libdir|/usr/lib${LIBDIRSUFFIX}|" config.new
mv browscap.ini browscap.ini.new
mv mconfig/config.xml mconfig/config.xml.new