pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mono - Disable the use of sigaltstack on NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efd893a6ca90
branches:  trunk
changeset: 472105:efd893a6ca90
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Apr 04 19:23:09 2004 +0000

description:
- Disable the use of sigaltstack on NetBSD.
- Make the gc type overridable.
Bump PKGREVISION for the sigaltstack change

diffstat:

 lang/mono/Makefile |  20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 3deb8bba22bf -r efd893a6ca90 lang/mono/Makefile
--- a/lang/mono/Makefile        Sun Apr 04 17:02:42 2004 +0000
+++ b/lang/mono/Makefile        Sun Apr 04 19:23:09 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2004/04/04 16:53:59 recht Exp $
+# $NetBSD: Makefile,v 1.23 2004/04/04 19:23:10 recht Exp $
 #
 
 DISTNAME=      mono-0.31
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  http://www.go-mono.org/archive/
 
@@ -49,16 +50,31 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+GC_LIB?=included
 .if ${OPSYS} == "Linux"
-BUILD_DEFS+=   MONO_USE_NPTL
 .  if defined(MONO_USE_NPTL) && !empty(MONO_USE_NPTL:M[yY][eE][sS])
 # Enable support for NPTL
 CONFIGURE_ARGS+=       --with-nptl=yes
 .  endif
+BUILD_DEFS+=   MONO_USE_NPTL
+GC_LIB=included
 .else
 CONFIGURE_ARGS+=       --with-nptl=no
 .endif
 
+.if ${GC_LIB} == "boehm"
+.  include "../../devel/boehm-gc/buildlink3.mk"
+PLIST_SUBST+=  GC="@comment "
+.else
+PLIST_SUBST+=  GC=
+.endif
+CONFIGURE_ARGS+=       --with-gc=${GC_LIB}
+
+# mcs coredumps with sigaltstack
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+=       --with-sigaltstack=no
+.endif
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"



Home | Main Index | Thread Index | Old Index