summaryrefslogtreecommitdiff
path: root/lang/mono
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-04-04 19:23:09 +0000
committerrecht <recht@pkgsrc.org>2004-04-04 19:23:09 +0000
commit7127c9da80ed146729ca189e2dac814b36b44e65 (patch)
treeb375912d391f317e9a46f57e976638e92ff2e674 /lang/mono
parentccda8e6f744aa38b93b1a8cd28a4192a63069c5e (diff)
downloadpkgsrc-7127c9da80ed146729ca189e2dac814b36b44e65.tar.gz
- Disable the use of sigaltstack on NetBSD.
- Make the gc type overridable. Bump PKGREVISION for the sigaltstack change
Diffstat (limited to 'lang/mono')
-rw-r--r--lang/mono/Makefile20
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"