diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mono2/Makefile | 10 | ||||
-rw-r--r-- | lang/mono2/distinfo | 3 | ||||
-rw-r--r-- | lang/mono2/patches/patch-mono_profiler_proflog.c | 17 |
3 files changed, 28 insertions, 2 deletions
diff --git a/lang/mono2/Makefile b/lang/mono2/Makefile index a9b2c69f77f..22ed6a52c65 100644 --- a/lang/mono2/Makefile +++ b/lang/mono2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2013/06/17 12:43:28 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2013/06/17 13:14:41 jperkin Exp $ DISTNAME= mono-2.10.9 PKGREVISION= 3 @@ -144,7 +144,15 @@ SUBST_MESSAGE.fix-libx11= Fixing libX11 search path configuration SUBST_FILES.fix-libx11= configure SUBST_SED.fix-libx11= -e 's,@X11BASE@,${X11BASE},g' +.include "../../mk/bsd.prefs.mk" + CPPFLAGS.NetBSD+= -D_KMEMUSER +CPPFLAGS.SunOS+= -D__C99FEATURES__ + +.if ${OPSYS} == "SunOS" +ULIMIT_CMD_datasize= ulimit -d 262144 +ULIMIT_CMD_stacksize= ulimit -s 10240 +.endif .include "../../devel/gettext-lib/buildlink3.mk" .include "../../lang/python/application.mk" diff --git a/lang/mono2/distinfo b/lang/mono2/distinfo index 1a09849a022..11b3714d39b 100644 --- a/lang/mono2/distinfo +++ b/lang/mono2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2013/06/17 12:43:28 wiz Exp $ +$NetBSD: distinfo,v 1.2 2013/06/17 13:14:41 jperkin Exp $ SHA1 (mono-2.10.9.tar.bz2) = 1a6e8c5a0c3d88d87982259aa04402e028a283de RMD160 (mono-2.10.9.tar.bz2) = ac9784c413eb2cdb490750a86a96cce5c11ad5bd @@ -43,4 +43,5 @@ SHA1 (patch-dm) = bac9172f419630f817702e15dd3761cb4f60e0a0 SHA1 (patch-dn) = 9a55bd9c492b64ec9feadb45419b4bec37900b89 SHA1 (patch-do) = 6ccd5598198fc04e638ec5bc5e03c92e16206c92 SHA1 (patch-man_mprof-report.1) = 7c6ab58a2550f274e17e417988104c83f4e36a18 +SHA1 (patch-mono_profiler_proflog.c) = 2f7826873ab7fdb858db3d39606028ee87a34a46 SHA1 (patch-mono_utils_mono-compiler.h) = 0dce7994bdb350f7080464f416b725cbe3e7e293 diff --git a/lang/mono2/patches/patch-mono_profiler_proflog.c b/lang/mono2/patches/patch-mono_profiler_proflog.c new file mode 100644 index 00000000000..ffb1e2828c8 --- /dev/null +++ b/lang/mono2/patches/patch-mono_profiler_proflog.c @@ -0,0 +1,17 @@ +$NetBSD: patch-mono_profiler_proflog.c,v 1.1 2013/06/17 13:14:41 jperkin Exp $ + +SunOS libelf does not support 64-bit. + +--- mono/profiler/proflog.c.orig 2012-01-30 18:01:23.000000000 +0000 ++++ mono/profiler/proflog.c +@@ -33,6 +33,10 @@ + #ifdef HAVE_EXECINFO_H + #include <execinfo.h> + #endif ++#ifdef __sun ++#undef _FILE_OFFSET_BITS ++#define _FILE_OFFSET_BITS 32 ++#endif + #ifdef HAVE_LINK_H + #include <link.h> + #endif |