Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c826720e3c5e83fa24e96f75984fe4bcb58a9116
commit c826720e3c5e83fa24e96f75984fe4bcb58a9116 Author: crazy <[EMAIL PROTECTED]> Date: Sun Apr 13 17:15:13 2008 +0200 nant-0.85-2-i686 * rebuilt with mono * added patches to fix the build * workaround for SMP for build diff --git a/source/devel-extra/nant/FrugalBuild b/source/devel-extra/nant/FrugalBuild index 80096f7..4ad703c 100644 --- a/source/devel-extra/nant/FrugalBuild +++ b/source/devel-extra/nant/FrugalBuild @@ -3,21 +3,26 @@ pkgname=nant pkgver=0.85 -pkgrel=1 +pkgrel=2 pkgdesc="Nant is a .NET build tool." url="http://www.mono-project.com/" -depends=('mono') -options=('scritplet' 'force') +depends=('mono>=1.9') +options=('scriptlet' 'force') groups=('devel-extra') archs=('i686' 'x86_64') up2date="lynx -dump http://go-mono.com/sources-stable/|grep -m1 'nant-'|sed 's/.*nt-\(.*\)-src.*/\1/'" -source=(http://go-mono.com/sources/$pkgname/$pkgname-$pkgver-src.tar.gz) +source=(http://go-mono.com/sources/$pkgname/$pkgname-$pkgver-src.tar.gz \ + nant-0.85-api.patch nant-core-task.patch) Finclude mono -sha1sums=('df97d7b542a4e561c37a0804bb8a159803cc05cd') +sha1sums=('df97d7b542a4e561c37a0804bb8a159803cc05cd' \ + 'ea9209fa2bbe6438a473587aac3f33df91e82f9d' \ + '443d245e707ea41e5211885c0dd16a003e2c0c72') build() { + unset MAKEFLAGS Fcd + Fpatchall Fmonoexport make || Fdie make prefix=$Fdestdir/usr install || Fdie diff --git a/source/devel-extra/nant/nant-0.85-api.patch b/source/devel-extra/nant/nant-0.85-api.patch new file mode 100644 index 0000000..62e84e8 --- /dev/null +++ b/source/devel-extra/nant/nant-0.85-api.patch @@ -0,0 +1,12 @@ +diff -uraN nant-0.85.orig/src/NAnt.DotNet/Tasks/ScriptTask.cs nant-0.85/src/NAnt.DotNet/Tasks/ScriptTask.cs +--- nant-0.85.orig/src/NAnt.DotNet/Tasks/ScriptTask.cs 2008-03-27 11:34:21.257506822 +0100 ++++ nant-0.85/src/NAnt.DotNet/Tasks/ScriptTask.cs 2008-03-27 11:38:37.163506860 +0100 +@@ -516,7 +516,7 @@ + #region Private Static Methods + + private static CodeDomProvider CreateCodeDomProvider(string typeName, string assemblyName) { +- Assembly providerAssembly = Assembly.LoadWithPartialName(assemblyName); ++ Assembly providerAssembly = Assembly.Load(assemblyName); + if (providerAssembly == null) { + throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, + ResourceUtils.GetString("NA2037"), assemblyName)); diff --git a/source/devel-extra/nant/nant-core-task.patch b/source/devel-extra/nant/nant-core-task.patch new file mode 100644 index 0000000..86440a3 --- /dev/null +++ b/source/devel-extra/nant/nant-core-task.patch @@ -0,0 +1,18 @@ +--- nant-0.85/src/NAnt.Core/Task.cs 2005-10-21 18:13:06.000000000 +0100 ++++ nant-0.85/src/NAnt.Core/Task.cs.new 2007-11-12 13:13:05.000000000 +0000 +@@ -400,7 +400,7 @@ + #region Protected Instance Methods + + /// <summary><note>Deprecated (to be deleted).</note></summary> +- [Obsolete("Deprecated- Use InitializeTask instead")] ++ //[Obsolete("Deprecated- Use InitializeTask instead")] + protected override void InitializeElement(XmlNode elementNode) { + // Just defer for now so that everything just works + InitializeTask(elementNode); +@@ -415,4 +415,4 @@ + + #endregion Protected Instance Methods + } +-} +\ No newline at end of file ++} _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
