openbsd-ports/lang/mono/patches/patch-mcs_tools_mkbundle_mkbundle_cs
ajacoutot a72a07e53d Major update to mono-2.5.
While beeing a development release, this is the most stable version I
used on OpenBSD for now. Several patches are removed as they went
upstream. Thanks to jolan@ for pointing me at this release and cooking a
couple of patches.

Fix build on powerpc and add it to ONLY_FOR_ARCHS ; slightly tested on
macppc.

A similar port was successfuly tested by jolan@ on amd64.

no objection alek@ (maintainer)
ok jolan@ ok jasper@
2009-09-06 07:25:27 +00:00

13 lines
745 B
Plaintext

$OpenBSD: patch-mcs_tools_mkbundle_mkbundle_cs,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
--- mcs/tools/mkbundle/mkbundle.cs.orig Sun Aug 23 12:08:46 2009
+++ mcs/tools/mkbundle/mkbundle.cs Sun Aug 23 12:09:09 2009
@@ -399,7 +399,7 @@ class MakeBundle {
smonolib = "`pkg-config --variable=libdir mono`/libmono.a ";
else
smonolib = "-Wl,-Bstatic -lmono -Wl,-Bdynamic ";
- cmd = String.Format ("{4} -o {2} -Wall `pkg-config --cflags mono` {0} {3} " +
+ cmd = String.Format ("{4} -o {2} -pthread -Wall `pkg-config --cflags mono` {0} {3} " +
"`pkg-config --libs-only-L mono` " + smonolib +
"`pkg-config --libs-only-l mono | sed -e \"s/\\-lmono //\"` {1}",
temp_c, temp_o, output, zlib, cc);