diff options
-rw-r--r-- | lang/mono/Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile index cfd690a2bb2..784d5cd1f04 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -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 @@ CONF_FILES+= ${EGDIR}/DefaultWsdlHelpGenerator.aspx \ .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" |