Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#15137 closed defect (fixed)

nant 0.85 fails to build under Mono 1.9

Reported by: aronnax@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jmroot (Joshua Root)
Port: nant

Description

The first problem is that in Mono 1.9, calling the obsolete LoadWithPartialName generates an error rather than a warning. Solved by changing LoadWithPartialName to plain old Load.

Second problem with funny characters in path is fixed according to http://lists.ximian.com/pipermail/mono-bugs/2006-November/050390.html. I have fixed the port of nant on my computer. I am attaching a new Portfile and two new patchfiles.

Attachments (3)

Portfile (885 bytes) - added by aronnax@… 17 years ago.
Updated portfile
patch-PkgConfigFunctions.cs (548 bytes) - added by aronnax@… 17 years ago.
Patch for PkgConfigFunctions.cs
patch-ScriptTask.cs (690 bytes) - added by aronnax@… 17 years ago.
Patch for ScriptTask.cs

Download all attachments as: .zip

Change History (8)

Changed 17 years ago by aronnax@…

Attachment: Portfile added

Updated portfile

Changed 17 years ago by aronnax@…

Attachment: patch-PkgConfigFunctions.cs added

Patch for PkgConfigFunctions.cs

Changed 17 years ago by aronnax@…

Attachment: patch-ScriptTask.cs added

Patch for ScriptTask.cs

comment:1 Changed 16 years ago by andrea.bedini@…

thanks, it works for me.

comment:2 Changed 16 years ago by dbueno@…

This also works for me, using mono 2.0.

comment:3 Changed 16 years ago by fabio.g@…

didn't work for me, neither using mono 1.9 nor using mono 2.0

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Milestone: Port Bugs
Port: nant added
Resolution: fixed
Status: newclosed

Checked in in r41516, since it builds for me with the patches.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.