summaryrefslogtreecommitdiff
path: root/lang/mono/Makefile
diff options
context:
space:
mode:
authorrecht <recht>2004-02-03 12:30:11 +0000
committerrecht <recht>2004-02-03 12:30:11 +0000
commit896fe98d08c858217df74769d82b4b2670ad13da (patch)
treeb9326bc538853b441dc533b4795b9693020dc968 /lang/mono/Makefile
parent4300e65885ee3a8b1b412e506d64fa21665d0d7e (diff)
downloadpkgsrc-896fe98d08c858217df74769d82b4b2670ad13da.tar.gz
update to mono 0.30
Lots of bug fixes and new features. See http://www.go-mono.com/archive/mono-0.30.html for details. Note: Starting with this release to use the System.Drawing APIs, libgdiplus is needed. (will be added next)
Diffstat (limited to 'lang/mono/Makefile')
-rw-r--r--lang/mono/Makefile40
1 files changed, 27 insertions, 13 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 2ac9f31780a..dd79b7fb8e9 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2004/01/24 13:51:14 grant Exp $
+# $NetBSD: Makefile,v 1.16 2004/02/03 12:30:11 recht Exp $
#
-DISTNAME= mono-0.29
-PKGREVISION= 1
+DISTNAME= mono-0.30
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.org/archive/
@@ -10,9 +9,11 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.go-mono.org/
COMMENT= Open source implementation of the .NET Development Framework
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+BUILD_DEPENDS+= bash>=2.0:../../shells/bash2
-CONFLICTS= pnet-[0-9]*
+CONFLICTS= pnet-[0-9]*
# XXX please test
NOT_FOR_PLATFORM= NetBSD-1.[0-5]*-*
@@ -20,33 +21,46 @@ NOT_FOR_PLATFORM+= NetBSD-1.6-* NetBSD-1.6.*-*
NOT_FOR_PLATFORM+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[AB]-*
USE_GNU_TOOLS+= make
-USE_BUILDLINK2= YES
-USE_PKGINSTALL= YES
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= yes
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gc=included
CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}"
-USE_LIBTOOL= YES
+USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
LIBTOOL_OVERRIDE+= ${WRKSRC}/libgc/libtool
+PKGCONFIG_OVERRIDE= mint.pc.in
PKGCONFIG_OVERRIDE= mono.pc.in
PKG_SYSCONFSUBDIR= mono
USE_PERL5= build
REPLACE_PERL= mono/cil/make-opcodes-def.pl
REPLACE_PERL+= mono/metadata/make-bundle.pl
+REPLACE_PERL+= mono/tests/test-driver
EGDIR= ${PREFIX}/share/examples/mono
CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
+CONF_FILES+= ${EGDIR}/browscap.ini ${PKG_SYSCONFDIR}/browscap.ini
CONF_FILES+= ${EGDIR}/machine.config ${PKG_SYSCONFDIR}/machine.config
CONF_FILES+= ${EGDIR}/DefaultWsdlHelpGenerator.aspx \
${PKG_SYSCONFDIR}/DefaultWsdlHelpGenerator.aspx
-.include "../../devel/glib2/buildlink2.mk"
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../textproc/icu/buildlink2.mk"
+.include "../../mk/bsd.prefs.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.if ${OPSYS} == "Linux"
+BUILD_DEFS+= MONO_USE_NPTL
+. if !empty(MONO_USE_NPTL:M[yY][eE][sS])
+# Enable support for NPTL
+CONFIGURE_ARGS+= --with-nptl
+. endif
+.endif
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"