pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/mono6 Add mono 6.0.0.313.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/734738e62c6b
branches:  trunk
changeset: 338460:734738e62c6b
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Aug 25 16:37:01 2019 +0000

description:
Add mono 6.0.0.313.

The Mono Project is an open development initiative sponsored by Ximian
that is working to develop an open source, Unix version of the Microsoft
.NET development platform.  Its objective is to enable Unix developers to
build and deploy cross-platform .NET Applications.  The project will
implement various technologies developed by Microsoft that have now been
submitted to the ECMA for standardization.

diffstat:

 lang/mono6/DESCR                                                              |     6 +
 lang/mono6/Makefile                                                           |   189 +
 lang/mono6/PLIST                                                              |  3187 ++++++++++
 lang/mono6/buildlink3.mk                                                      |    17 +
 lang/mono6/distinfo                                                           |    26 +
 lang/mono6/patches/patch-configure.ac                                         |    53 +
 lang/mono6/patches/patch-data_Makefile.am                                     |    14 +
 lang/mono6/patches/patch-data_net__2__0_Browsers_Makefile.am                  |    12 +
 lang/mono6/patches/patch-data_net__2__0_Makefile.am                           |    14 +
 lang/mono6/patches/patch-data_net__4__0_Browsers_Makefile.am                  |    12 +
 lang/mono6/patches/patch-data_net__4__0_Makefile.am                           |    14 +
 lang/mono6/patches/patch-data_net__4__5_Browsers_Makefile.am                  |    12 +
 lang/mono6/patches/patch-data_net__4__5_Makefile.am                           |    14 +
 lang/mono6/patches/patch-mcs_class_corlib_Test_Mono_MonoNativePlatformType.cs |    15 +
 lang/mono6/patches/patch-mono_metadata_icall.c                                |    16 +
 lang/mono6/patches/patch-mono_metadata_mono-config.c                          |    16 +
 lang/mono6/patches/patch-mono_metadata_threads.c                              |    21 +
 lang/mono6/patches/patch-mono_mini_Makefile.am.in                             |    15 +
 lang/mono6/patches/patch-mono_native_Makefile.am                              |    36 +
 lang/mono6/patches/patch-mono_native_mono-native-platform.h                   |    16 +
 lang/mono6/patches/patch-mono_tests_Makefile.am                               |    15 +
 lang/mono6/patches/patch-mono_utils_mono-os-semaphore.h                       |    16 +
 lang/mono6/patches/patch-mono_utils_mono-state.c                              |    14 +
 lang/mono6/patches/patch-mono_utils_mono-utils-debug.c                        |    31 +
 lang/mono6/patches/patch-runtime_mono-wrapper.in                              |    12 +
 25 files changed, 3793 insertions(+), 0 deletions(-)

diffs (truncated from 3893 to 300 lines):

diff -r 9383dcd7c20a -r 734738e62c6b lang/mono6/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/DESCR  Sun Aug 25 16:37:01 2019 +0000
@@ -0,0 +1,6 @@
+The Mono Project is an open development initiative sponsored by Ximian
+that is working to develop an open source, Unix version of the Microsoft
+.NET development platform.  Its objective is to enable Unix developers to
+build and deploy cross-platform .NET Applications.  The project will
+implement various technologies developed by Microsoft that have now been
+submitted to the ECMA for standardization.
diff -r 9383dcd7c20a -r 734738e62c6b lang/mono6/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/Makefile       Sun Aug 25 16:37:01 2019 +0000
@@ -0,0 +1,189 @@
+# $NetBSD: Makefile,v 1.1 2019/08/25 16:37:01 maya Exp $
+
+DISTNAME=      mono-6.0.0.313
+CATEGORIES=    lang
+MASTER_SITES=  https://download.mono-project.com/sources/mono/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.mono-project.com/
+COMMENT=       Open source implementation of the .NET Development Framework
+LICENSE=       mit AND gnu-gpl-v2 AND gnu-lgpl-v2 AND apache-2.0
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+
+BUILD_DEPENDS+=        p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+CONFLICTS=     pnet-[0-9]* mcsim-[0-9]* lc-[0-9]*
+ALL_ENV+=      MONO_SHARED_DIR=${WRKDIR} PLATFORM=
+
+USE_TOOLS+=    bash:run bison gmake gtar msgfmt perl:run pkg-config autoconf automake
+USE_LIBTOOL=   yes
+USE_LANGUAGES+=        c c99 c++
+EXTRACT_USING= gtar
+
+GNU_CONFIGURE=         yes
+PKG_SYSCONFSUBDIR=     mono
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+
+# Requires a cwrappers change: http://mail-index.netbsd.org/tech-pkg/2019/08/16/msg021791.html
+USE_CWRAPPERS=         no
+
+MAKE_FLAGS+=           PERL=${PERL5:Q} mandir=${PREFIX}/${PKGMANDIR}
+UNLIMIT_RESOURCES=     datasize stacksize memorysize
+
+PKGCONFIG_OVERRIDE+=   mono-uninstalled.pc.in data/cecil.pc.in
+PKGCONFIG_OVERRIDE+=   data/dotnet.pc.in data/dotnet35.pc.in data/mint.pc.in
+PKGCONFIG_OVERRIDE+=   data/monodoc.pc.in
+PKGCONFIG_OVERRIDE+=   data/mono-cairo.pc.in data/mono-lineeditor.pc.in
+PKGCONFIG_OVERRIDE+=   data/mono-nunit.pc.in data/mono-options.pc.in
+PKGCONFIG_OVERRIDE+=   data/mono.pc.in
+PKGCONFIG_OVERRIDE+=   data/reactive.pc.in
+PKGCONFIG_OVERRIDE+=   data/system.web.extensions_1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/system.web.extensions.design_1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/system.web.mvc.pc.in data/wcf.pc.in
+
+REPLACE_PERL+= mono/benchmark/test-driver
+REPLACE_PERL+= mono/cil/make-opcodes-def.pl
+REPLACE_PERL+= mono/tests/stress-runner.pl
+
+REPLACE_PYTHON+=       scripts/mono-heapviz
+
+REPLACE_BASH+= mono/arch/arm/dpiops.sh
+REPLACE_BASH+= mono/arch/arm/vfpops.sh
+REPLACE_BASH+= scripts/mono-package-runtime
+REPLACE_BASH+= scripts/mono-find-provides.in scripts/mono-find-requires.in
+REPLACE_BASH+= scripts/mono-test-install web/mono-build-w32.sh
+REPLACE_BASH+= mcs/class/Mono.Cairo/Samples/gtk/compile.sh
+REPLACE_BASH+= mcs/class/Mono.Cairo/Samples/png/compile.sh
+REPLACE_BASH+= mcs/class/Mono.Cairo/Samples/win32/compile.sh
+REPLACE_BASH+= mcs/class/Mono.Cairo/Samples/x11/compile.sh
+REPLACE_BASH+= libgc/mkinstalldirs
+REPLACE_BASH+= mcs/mkinstalldirs mkinstalldirs
+
+EGDIR=         ${PREFIX}/share/examples/mono
+
+CONF_FILES+=   ${EGDIR}/2.0/Browsers/Compat.browser \
+               ${PKG_SYSCONFDIR}/2.0/Browsers/Compat.browser
+CONF_FILES+=   ${EGDIR}/2.0/DefaultWsdlHelpGenerator.aspx \
+               ${PKG_SYSCONFDIR}/2.0/DefaultWsdlHelpGenerator.aspx
+CONF_FILES+=   ${EGDIR}/2.0/machine.config \
+               ${PKG_SYSCONFDIR}/2.0/machine.config
+CONF_FILES+=   ${EGDIR}/2.0/settings.map \
+               ${PKG_SYSCONFDIR}/2.0/settings.map
+CONF_FILES+=   ${EGDIR}/2.0/web.config \
+               ${PKG_SYSCONFDIR}/2.0/web.config
+CONF_FILES+=   ${EGDIR}/4.0/Browsers/Compat.browser \
+               ${PKG_SYSCONFDIR}/4.0/Browsers/Compat.browser
+CONF_FILES+=   ${EGDIR}/4.0/DefaultWsdlHelpGenerator.aspx \
+               ${PKG_SYSCONFDIR}/4.0/DefaultWsdlHelpGenerator.aspx
+CONF_FILES+=   ${EGDIR}/4.0/machine.config \
+               ${PKG_SYSCONFDIR}/4.0/machine.config
+CONF_FILES+=   ${EGDIR}/4.0/settings.map \
+               ${PKG_SYSCONFDIR}/4.0/settings.map
+CONF_FILES+=   ${EGDIR}/4.0/web.config \
+               ${PKG_SYSCONFDIR}/4.0/web.config
+CONF_FILES+=   ${EGDIR}/4.5/Browsers/Compat.browser \
+               ${PKG_SYSCONFDIR}/4.5/Browsers/Compat.browser
+CONF_FILES+=   ${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx \
+               ${PKG_SYSCONFDIR}/4.5/DefaultWsdlHelpGenerator.aspx
+CONF_FILES+=   ${EGDIR}/4.5/machine.config \
+               ${PKG_SYSCONFDIR}/4.5/machine.config
+CONF_FILES+=   ${EGDIR}/4.5/settings.map \
+               ${PKG_SYSCONFDIR}/4.5/settings.map
+CONF_FILES+=   ${EGDIR}/4.5/web.config \
+               ${PKG_SYSCONFDIR}/4.5/web.config
+CONF_FILES+=   ${EGDIR}/browscap.ini \
+               ${PKG_SYSCONFDIR}/browscap.ini
+CONF_FILES+=   ${EGDIR}/config \
+               ${PKG_SYSCONFDIR}/config
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/2.0
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/2.0/Browsers
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/4.0
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/4.0/Browsers
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/4.5
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/4.5/Browsers
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/mconfig
+
+TEST_TARGET=   check
+
+SUBST_CLASSES+=                        fix-prefix
+SUBST_STAGE.fix-prefix=                post-patch
+SUBST_MESSAGE.fix-prefix=      Fixing relative prefix
+SUBST_FILES.fix-prefix=                ${PKGCONFIG_OVERRIDE}
+SUBST_SED.fix-prefix=          -e 's,$${pcfiledir}/../..,\@prefix\@,g'
+
+SUBST_CLASSES+=                        fix-cfgdir
+SUBST_STAGE.fix-cfgdir=                post-patch
+SUBST_MESSAGE.fix-cfgdir=      Fixing configuration files install dir
+SUBST_FILES.fix-cfgdir=                mcs/tools/mconfig/Makefile
+SUBST_SED.fix-cfgdir=          -e 's,$$(sysconfdir)/mono,${EGDIR},g'
+
+SUBST_CLASSES+=                        fix-libs
+SUBST_STAGE.fix-libs=          pre-configure
+SUBST_MESSAGE.fix-libs=                Fixing library search path configuration
+SUBST_FILES.fix-libs=          configure.ac
+SUBST_VARS.fix-libs+=          X11BASE
+SUBST_VARS.fix-libs+=          PREFIX
+
+SUBST_CLASSES+=                        fix-python
+SUBST_STAGE.fix-python=                pre-configure
+SUBST_MESSAGE.fix-python=      Fixing python binary name
+SUBST_FILES.fix-python+=       mono/mini/Makefile.am.in
+SUBST_FILES.fix-python+=       mono/tests/Makefile.am
+SUBST_VARS.fix-python=         PYTHONBIN
+
+.include "../../mk/bsd.prefs.mk"
+
+# XXX remove
+MAKE_ENV+=     V=1
+
+# We patched makefiles, regen
+pre-configure:
+       ${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
+
+.if ${OPSYS} == "SunOS"
+CFLAGS+=               -D_XOPEN_SOURCE=600
+CONFIGURE_ARGS+=       --with-mcs-docs=no
+CONFIGURE_ARGS+=       --with-sgen=no
+CONFIGURE_ARGS+=       --with-sigaltstack=no
+CONFIGURE_ENV+=                ac_cv_func_getdomainname=no
+CONFIGURE_ENV+=                ac_cv_func_setdomainname=no
+ULIMIT_CMD_datasize=   ulimit -d 524288
+ULIMIT_CMD_stacksize=  ulimit -s 10240
+.elif ${OPSYS} == "NetBSD"
+# Available as a libc symbol, but no declaration.
+# XXX learn about getvfsstat
+CONFIGURE_ENV+=                ac_cv_func_getfsstat=no
+.endif
+
+.if ${MACHINE_ARCH:M*i[34]86*}
+# for gcc byte atomic builtins
+GNU_ARCH.i386=         i586
+CFLAGS+=               -march=i586
+.endif
+
+NOT_PAX_MPROTECT_SAFE+=        bin/mono-sgen
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/data/net_4_5/DefaultWsdlHelpGenerator.aspx \
+               ${DESTDIR}${EGDIR}/4.5/DefaultWsdlHelpGenerator.aspx
+       ${INSTALL_DATA} ${WRKSRC}/data/net_4_5/machine.config \
+               ${DESTDIR}${EGDIR}/4.5/machine.config
+       ${INSTALL_DATA} ${WRKSRC}/data/net_4_5/settings.map \
+               ${DESTDIR}${EGDIR}/4.5/settings.map
+       ${INSTALL_DATA} ${WRKSRC}/data/net_4_5/web.config \
+               ${DESTDIR}${EGDIR}/4.5/web.config
+.if ${OPSYS} == "Darwin"
+       for lib in mcs.exe.dylib mscorlib.dll.dylib; do \
+               install_name_tool -id ${PREFIX}/lib/mono/4.5/$$lib \
+                   ${DESTDIR}${PREFIX}/lib/mono/4.5/$$lib; \
+       done
+.endif
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9383dcd7c20a -r 734738e62c6b lang/mono6/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono6/PLIST  Sun Aug 25 16:37:01 2019 +0000
@@ -0,0 +1,3187 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/25 16:37:01 maya Exp $
+bin/al
+bin/al2
+bin/caspol
+bin/cccheck
+bin/ccrewrite
+bin/cert-sync
+bin/cert2spc
+bin/certmgr
+bin/chktrust
+bin/crlupdate
+bin/csc
+bin/csharp
+bin/csi
+bin/disco
+bin/dmcs
+bin/dtd2rng
+bin/dtd2xsd
+bin/gacutil
+bin/gacutil2
+bin/genxs
+bin/httpcfg
+bin/ikdasm
+bin/ilasm
+bin/illinkanalyzer
+bin/installvst
+bin/lc
+bin/macpack
+bin/makecert
+bin/mconfig
+bin/mcs
+bin/mdassembler
+bin/mdbrebase
+bin/mdoc
+bin/mdoc-assemble
+bin/mdoc-export-html
+bin/mdoc-export-msxdoc
+bin/mdoc-update
+bin/mdoc-validate
+bin/mdvalidater
+bin/mkbundle
+bin/mod
+bin/mono
+bin/mono-api-html
+bin/mono-api-info
+bin/mono-boehm
+bin/mono-cil-strip
+bin/mono-configuration-crypto
+bin/mono-find-provides
+bin/mono-find-requires
+bin/mono-gdb.py
+bin/mono-heapviz
+bin/mono-package-runtime
+bin/mono-service
+bin/mono-service2
+bin/mono-sgen
+bin/mono-sgen-gdb.py
+bin/mono-shlib-cop
+bin/mono-symbolicate
+bin/mono-test-install
+bin/mono-xmltool
+bin/monodis
+bin/monodocer
+bin/monodocs2html
+bin/monodocs2slashdoc
+bin/monolinker
+bin/monop
+bin/monop2
+bin/mozroots
+bin/mprof-report
+bin/pdb2mdb
+bin/pedump
+bin/permview
+bin/peverify
+bin/resgen
+bin/resgen2
+bin/secutil
+bin/setreg
+bin/sgen
+bin/sgen-grep-binprot
+bin/signcode
+bin/sn
+bin/soapsuds
+bin/sqlmetal
+bin/sqlsharp
+bin/svcutil
+bin/vbc
+bin/wsdl
+bin/wsdl2
+bin/xbuild
+bin/xsd
+include/mono-2.0/mono/cil/opcode.def
+include/mono-2.0/mono/jit/jit.h



Home | Main Index | Thread Index | Old Index