Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bouletmp.git;a=commitdiff;h=30b40c91de871805d9282b7c9a8168e6e0136bac

commit 30b40c91de871805d9282b7c9a8168e6e0136bac
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Nov 4 06:00:59 2010 +0100

mono-2.8-11-ppc
*enable moonlight and don't break some features

diff --git a/source/devel/mono/FrugalBuild b/source/devel/mono/FrugalBuild
index 0f8d2f0..2e8d854 100644
--- a/source/devel/mono/FrugalBuild
+++ b/source/devel/mono/FrugalBuild
@@ -9,7 +9,7 @@ fi

pkgname=mono
pkgver=2.8
-pkgrel=10
+pkgrel=11
pkgdesc="Mono runtime and class libraries, a C# compiler/interpreter"
url="http://www.mono-project.com/";
depends=('zlib')
@@ -19,11 +19,14 @@ groups=('devel')
archs=('i686' 'x86_64' 'ppc')
Finclude mono
up2date="lynx -dump http://www.go-mono.com/sources-stable/|grep -m1 'mono-'|sed 
's/.*-\(.*\).t.*/\1/'"
-source=(http://www.go-mono.com/sources/$pkgname/$pkgname-$pkgver.tar.bz2 
rc.mono rc.mono-hu.po ppc_thread.diff)
+source=(http://www.go-mono.com/sources/$pkgname/$pkgname-$pkgver.tar.bz2 
rc.mono rc.mono-hu.po \
+       ppc_thread.diff moonlight.diff)
replaces=('monodoc')
-Fconfopts="$Fconfopts 
-with-ikvm-native=yes --with-jit=yes --with-xen_opt=n \
+conflicts=('monodoc')
+
+Fconfopts="$Fconfopts --with-ikvm-native=yes --with-jit=yes --with-xen_opt=n 
\
--with-libgdiplus=installed
-       --with-moonlight=no \
+       --with-moonlight=yes \
--with-profile2=yes \
--with-profile4=yes \
--disable-quiet-build \
@@ -32,10 +35,6 @@ Fconfopts="$Fconfopts 
-with-ikvm-native=yes --with-jit=yes --with-xen_opt=n \
#https://bugzilla.novell.com/show_bug.cgi?id=644680
# build without profile4 break monodoc

-#Currently "--with-moonlight" does not mean "Add Moonlight into the Mix", it
-#means "build Mono as required by Moonlight" which cuts a lot of extra cruft
-#from the build process that is not required by the Moonlight team.
-
#http://bugs.gentoo.org/show_bug.cgi?id=256264
#--enable-static for mono debug works well

@@ -53,13 +52,18 @@ fi
sha1sums=('a724de68dccb583b54d2e08c5a1e5760c18225ab' \
'1a6826fb1bb13f906a1465be43bb592a2a9e0e10' \
'6c19f98462d7bb1ecba79a3ad284ea02a1eac2ec' \
-          '3dda8a39085fddec0b0e25e31743d49762575605')
+          '3dda8a39085fddec0b0e25e31743d49762575605' \
+          'bbb6568efbd9787afa63141505b0810359d1b455')

build() {
unset MAKEFLAGS
#Remove this at your own peril. Mono will barf in unexpected ways.
export CFLAGS="$CFLAGS -fno-strict-aliasing"
Fcd
+
+       #for download latest mono mini
+       #make get-monolite-latest || Fdie
+
# Remove prebuilt binaries
#comment this line and remove mono from makedepends for ported mono to an other 
arch
rm -rf mcs/class/lib/monolite/* || Fdie
diff --git a/source/devel/mono/moonlight.diff b/source/devel/mono/moonlight.diff
new file mode 100644
index 0000000..f0d2503
--- /dev/null
+++ b/source/devel/mono/moonlight.diff
@@ -0,0 +1,12 @@
+--- mono-2.8/mono/Makefile.am.old      2010-10-10 19:51:15.000000000 +1300
++++ mono-2.8/mono/Makefile.am  2010-10-10 19:54:07.000000000 +1300
+@@ -2,7 +2,7 @@
+ SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis
+ else
+ if MOONLIGHT
+-SUBDIRS = utils io-layer     metadata arch $(interpreter_dir) mini
++SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis 
monograph tests benchmark profiler
+ else
+ SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis 
monograph tests benchmark profiler
+ endif
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to