aboutsummaryrefslogtreecommitdiff
path: root/development/mono
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono')
-rw-r--r--development/mono/mono-2.x.configure.in.patch11
-rw-r--r--development/mono/mono.SlackBuild13
-rw-r--r--development/mono/mono.info8
3 files changed, 24 insertions, 8 deletions
diff --git a/development/mono/mono-2.x.configure.in.patch b/development/mono/mono-2.x.configure.in.patch
new file mode 100644
index 000000000000..e97ad18dc9e5
--- /dev/null
+++ b/development/mono/mono-2.x.configure.in.patch
@@ -0,0 +1,11 @@
+--- configure.in 2009-01-09 03:48:43.000000000 +0100
++++ configure.in.patch 2009-01-19 21:56:04.000000000 +0100
+@@ -2182,7 +2182,7 @@
+ if test "x$cross_compiling" = "xno"; then
+ mono_cfg_dir=`cygpath -w -a $mono_cfg_root`\\etc
+ else
+- mono_cfg_dir=`echo $mono_cfg_root | tr '/' '\\\'`\\etc
++ mono_cfg_dir=`echo $mono_cfg_root | tr '/' '\\'`\\etc
+ fi
+ else
+ mono_cfg_dir=$mono_cfg_root/etc
diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild
index b6bd8dc2e18f..52d4d16edc2e 100644
--- a/development/mono/mono.SlackBuild
+++ b/development/mono/mono.SlackBuild
@@ -23,13 +23,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set -eu
-
PRGNAM=mono
-VERSION=1.9.1
+VERSION=2.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -41,6 +40,8 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -50,6 +51,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix configure.in and regenerate the build system
+patch -p0 < $CWD/mono-2.x.configure.in.patch
+autoreconf
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -71,7 +76,7 @@ gzip -9 $PKG/usr/man/man?/*.?
find $PKG/etc -type f -exec mv -v {} {}.new \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
-cp -a AUTHORS COPYING.LIB ChangeLog LICENSE NEWS README docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING.LIB LICENSE NEWS docs/* $PKG/usr/doc/$PRGNAM-$VERSION
rm $PKG/usr/doc/$PRGNAM-$VERSION/Makefile*
mv $PKG/usr/share/libgc-mono $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/mono/mono.info b/development/mono/mono.info
index 577019a1e2fb..a32d5b5a0a2b 100644
--- a/development/mono/mono.info
+++ b/development/mono/mono.info
@@ -1,8 +1,8 @@
PRGNAM="mono"
-VERSION="1.9.1"
+VERSION="2.4"
HOMEPAGE="http://www.mono-project.com"
-DOWNLOAD="http://ftp.novell.com/pub/mono/sources/mono/mono-1.9.1.tar.bz2"
-MD5SUM="6610c3b999d791553a9dc21059ca9d35"
+DOWNLOAD="http://ftp.novell.com/pub/mono/sources/mono/mono-2.4.tar.bz2"
+MD5SUM="da2bf1c0aba2958d26c5e8a9a49fd9d1"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="Michiel"
+APPROVED="dsomero"