diff --git a/emulators/mesen/Makefile b/emulators/mesen/Makefile index 714249ad2183..f21ec15999c8 100644 --- a/emulators/mesen/Makefile +++ b/emulators/mesen/Makefile @@ -1,82 +1,82 @@ PORTNAME= mesen DISTVERSION= 0.9.8-4 PORTREVISION= 2 DISTVERSIONSUFFIX= -g4c701ad6 CATEGORIES= emulators MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform Nintendo Entertainment System (NES/Famicom) emulator WWW= https://www.mesen.ca/ LICENSE= GPLv3 # ARM/MIPS are only supported on Android ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= zip:archivers/zip \ evdev-proto>0:devel/evdev-proto \ msbuild:devel/msbuild LIB_DEPENDS= libevdev.so:devel/libevdev \ libgdiplus.so:x11-toolkits/libgdiplus USES= compiler:c++14-lang gmake pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= SourMesen GH_PROJECT= Mesen USE_SDL= sdl2 MAKEFILE= makefile MAKE_ARGS= MESENPLATFORM=${MESEN_ARCH} \ CC="${CC}" CPPC="${CXX}" \ FSLIB=-lc++experimental \ LTO=true \ SYSTEM_LIBEVDEV=true MESEN_ARCH= ${ARCH:S/amd64/x64/:S/i386/x86/} OPTIONS_MULTI= FRONTENDS OPTIONS_MULTI_FRONTENDS= MONO LIBRETRO OPTIONS_DEFAULT= MONO LIBRETRO OPTIONS_SUB= yes MONO_DESC= Mono based GUI frontend LIBRETRO_DESC= Libretro core MONO_ALL_TARGET= ui MONO_BUILD_DEPENDS= mono:lang/mono MONO_RUN_DEPENDS= mono:lang/mono MONO_DESKTOP_ENTRIES= "Mesen" "NES/Famicom Emulator" \ "${PORTNAME}" "${PORTNAME}" "Game;Emulator;" false LIBRETRO_ALL_TARGET= libretro .include -.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 5.10 -BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: error MSB4184: The expression ""Program.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found. .endif do-install: # empty to avoid default do-install-MONO-on: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/mesen ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ ${INSTALL_LIB} ${WRKSRC}/bin/${MESEN_ARCH}/Release/Dependencies/libMesenCore.${MESEN_ARCH}.dll \ ${STAGEDIR}${PREFIX}/libexec/mesen/libMesenCore.dll ${INSTALL_DATA} ${WRKSRC}/bin/${MESEN_ARCH}/Release/Mesen.exe \ ${STAGEDIR}${PREFIX}/libexec/mesen/ ${INSTALL_DATA} ${WRKSRC}/GUI.NET/Resources/MesenIcon.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/mesen.png ${INSTALL_DATA} ${WRKSRC}/GUI.NET/Resources/MesenIconMedium.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/mesen.png ${INSTALL_DATA} ${WRKSRC}/GUI.NET/Resources/MesenIconSmall.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/mesen.png ${INSTALL_SCRIPT} ${FILESDIR}/launch.sh ${STAGEDIR}${PREFIX}/bin/mesen ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${STAGEDIR}${PREFIX}/bin/mesen do-install-LIBRETRO-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/libretro ${INSTALL_LIB} ${WRKSRC}/bin/mesen_libretro.${MESEN_ARCH}.so \ ${STAGEDIR}${PREFIX}/lib/libretro/mesen_libretro.so .include diff --git a/games/openbve/Makefile b/games/openbve/Makefile index 05ba72df83d9..975863c09f79 100644 --- a/games/openbve/Makefile +++ b/games/openbve/Makefile @@ -1,85 +1,85 @@ PORTNAME= ${GH_PROJECT:tl} PORTVERSION= 1.9.1.1 CATEGORIES= games MAINTAINER= danfe@FreeBSD.org COMMENT= Realistic 3D train/railway simulator WWW= https://openbve-project.net/ LICENSE= PD BUILD_DEPENDS= msbuild:devel/msbuild LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus USE_GITHUB= yes GH_ACCOUNT= leezer3 GH_PROJECT= OpenBVE USES= gmake mono:nuget openal:soft sdl USE_SDL= sdl2 MAKEFILE= makefile ALL_TARGET= all-release NUGET_DEPENDS= CS-Script.lib=3.30.3 \ DotNetZip=1.16.0 \ LibUsbDotNet=2.2.29 \ Mono.Cecil=0.11.3 \ NAudio.Vorbis=1.2.0 \ NAudio=1.10.0 \ NLayer.NAudioSupport=1.0.0 \ NLayer=1.12.0 \ NVorbis=0.10.1 \ OpenTK-OpenBVE=1.0.2 \ OpenTK.GLControl-OpenBVE=1.0.1 \ Prism.Core=7.2.0.1422 \ ReactiveProperty.Core=7.1.0 \ ReactiveProperty=7.1.0 \ SharpCompress=0.32.2 \ System.Buffers=4.5.1 \ System.ComponentModel.Annotations=4.7.0 \ System.Memory=4.5.5 \ System.Numerics.Vectors=4.5.0 \ System.Reactive=4.4.1 \ System.Runtime.CompilerServices.Unsafe=6.0.0 \ System.Text.Encoding.CodePages=6.0.0 \ System.Threading.Tasks.Extensions=4.5.4 \ System.ValueTuple=4.5.0 \ Ude.NetStandard=1.2.0 DATADIR= ${PREFIX}/lib/${PORTNAME} PORTDOCS= changelog.md credits.md routes-and-trains.txt OPTIONS_DEFINE= DOCS .include -.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 5.10 -BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: error MSB4184: The expression ""Program.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found. .endif post-patch: @${REINPLACE_CMD} -e '/TargetFrameworkVersion/s,4\.7\.2,4.6.1,' \ ${WRKSRC}/source/TrainEditor2/TrainEditor2.csproj do-install: # This is Windows only, so can be removed ${RM} ${WRKSRC}/bin_release/AtsPluginProxy.* ${CP} -a ${WRKSRC}/bin_release ${STAGEDIR}${DATADIR} .for script program in openbve OpenBve openbve-objectviewer ObjectViewer \ openbve-routeviewer RouteViewer ${PRINTF} '#!/bin/sh\n\nexec mono ${DATADIR}/${program}.exe\ "$$@"\n' > ${STAGEDIR}${PREFIX}/bin/${script} ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${script} .endfor ${INSTALL_MAN} ${WRKSRC}/debian/*.6 ${STAGEDIR}${MANPREFIX}/man/man6 ${INSTALL_DATA} ${WRKSRC}/debian/openbve.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/debian/openbve.png \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/debian/,} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/games/openra/Makefile b/games/openra/Makefile index e92c5382d049..7c2c0fdf8b27 100644 --- a/games/openra/Makefile +++ b/games/openra/Makefile @@ -1,86 +1,86 @@ PORTNAME= openra DISTVERSIONPREFIX= release- DISTVERSION= 20200503 PORTREVISION= 5 CATEGORIES= games MASTER_SITES= https://download.ip2location.com/lite/:ip2location DISTFILES= IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP:ip2location PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= e13fd693c386.patch:-p1 # https://github.com/OpenRA/OpenRA/pull/17744 PATCHFILES+= 85096c4ba2fb.patch:-p1 # https://github.com/OpenRA/OpenRA/pull/17744 MAINTAINER= jbeich@FreeBSD.org COMMENT= Multiplayer re-envisioning of early RTS games by Westwood Studios WWW= https://www.openra.net/ LICENSE= GPLv3 BUILD_DEPENDS= msbuild:devel/msbuild LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgdiplus.so:x11-toolkits/libgdiplus NUGET_DEPENDS= Microsoft.NETFramework.ReferenceAssemblies=1.0.0 \ Microsoft.NETFramework.ReferenceAssemblies.net472=1.0.0 \ NUnit=3.12.0 \ NUnit.Console=3.11.1 \ NUnit.ConsoleRunner=3.11.1 \ NUnit.Extension.NUnitProjectLoader=3.6.0 \ NUnit.Extension.NUnitV2Driver=3.8.0 \ NUnit.Extension.NUnitV2ResultWriter=3.6.0 \ NUnit.Extension.TeamCityEventListener=1.0.7 \ NUnit.Extension.VSProjectLoader=3.8.0 \ NUnit3TestAdapter=3.16.1 \ NuGet.CommandLine=4.4.1 \ OpenRA-Eluant=1.0.17 \ OpenRA-Freetype6=1.0.4 \ OpenRA-FuzzyLogicLibrary=1.0.1 \ OpenRA-Open.NAT=1.0.0 \ OpenRA-OpenAL-CS=1.0.16 \ OpenRA-SDL2-CS=1.0.26 \ SharpZipLib=1.2.0 \ StyleCop.Analyzers=1.1.118 \ rix0rrr.BeaconLib=1.0.2 USE_GITHUB= yes GH_PROJECT= OpenRA NO_ARCH= yes USES= desktop-file-utils gmake lua:51 mono:nuget openal:soft sdl \ shared-mime-info USE_SDL= sdl2 MAKE_ENV= prefix="${PREFIX}" \ gameinstalldir="${DATADIR}" ALL_TARGET= all INSTALL_TARGET= install install-man-page \ install-linux-appdata install-linux-mime install-linux-shortcuts PORTDATA= * .include -.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 5.10 -BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The imported project "/usr/local/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: error MSB4184: The expression ""Program.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found. .endif post-extract: ${CP} ${_DISTDIR}/${DISTFILES:C/:.*//:MIP2LOCATION-*} ${WRKSRC} post-patch: ${REINPLACE_CMD} \ -e 's/ -verbosity:m//' \ -e '/echo/!s/ @/ /' \ -e '/^VERSION/s/=.*/= ${GH_TAGNAME}/' \ -e '/^core:/s/$$/ version/' \ ${WRKSRC}/Makefile .if defined(PATCHFILES) ${CHMOD} +x ${WRKSRC}/configure-system-libraries.sh .endif ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ -e '/target/s,$${DIR}/,,' \ ${WRKSRC}/configure-system-libraries.sh do-test: @(cd ${TEST_WRKSRC} && mono \ ${NUGET_PACKAGEDIR}/NUnit.ConsoleRunner/tools/nunit3-console.exe \ --noresult OpenRA.Test.dll) .include diff --git a/lang/fsharp/Makefile b/lang/fsharp/Makefile index 7e1d2c4717b2..397f49249e98 100644 --- a/lang/fsharp/Makefile +++ b/lang/fsharp/Makefile @@ -1,43 +1,39 @@ PORTNAME= fsharp PORTVERSION= 10.2.1 CATEGORIES= lang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Functional and object-oriented language for the .NET platform WWW= https://fsharp.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= msbuild:devel/msbuild TEST_DEPENDS= libgdiplus>=0:x11-toolkits/libgdiplus USES= gmake mono:nuget pkgconfig USE_GITHUB= yes MAKE_JOBS_UNSAFE= Build not parallelizable NUGET_LAYOUT= legacy NO_ARCH= yes do-test: ${MKDIR} ${WRKDIR}/bin echo "#!/bin/sh" > ${WRKDIR}/bin/fsharpc echo 'exec ${LOCALBASE}/bin/mono ${WRKSRC}/Release/net40/bin/fsc.exe "$$@"' >> ${WRKDIR}/bin/fsharpc ${CHMOD} 0755 ${WRKDIR}/bin/fsharpc (cd ${WRKSRC}/tests/fsharp/core; \ ${ENV} \ PATH=${WRKDIR}/bin:${PATH} \ MONO_PATH=${WRKSRC}/Release/net40/bin \ ./run-all.sh) .include -.if defined(MONO_DEFAULT) -.if ${MONO_DEFAULT} > 6 +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 BROKEN= fails to build with Mono version ${MONO_DEFAULT}: A unique overload for method 'GetFileNameWithoutExtension' could not be determined based on type information prior to this program point -.elif ${MONO_DEFAULT} > 5.10 -BROKEN= fails to build with Mono version ${MONO_DEFAULT}: The type 'HashSet' is not defined -.endif .endif .include diff --git a/lang/mono5.20/Makefile b/lang/mono5.20/Makefile index b8cc60124a80..0d6815f6130c 100644 --- a/lang/mono5.20/Makefile +++ b/lang/mono5.20/Makefile @@ -1,112 +1,116 @@ PORTNAME= mono PORTVERSION= 5.20.1.34 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ PKGNAMESUFFIX= 5.20 DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Open source implementation of .NET Development Framework WWW= https://www.mono-project.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ bash:shells/bash \ cmake-core>0:devel/cmake-core LIB_DEPENDS= libinotify.so:devel/libinotify RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss CONFLICTS_INSTALL= certmgr coin-or-disco disco mono mono[0-9]* OPTIONS_DEFINE= MONOLITE NLS X11 HEAPVIZ OPTIONS_DEFAULT= MONOLITE X11 OPTIONS_SUB= yes HEAPVIZ_DESC= Install mono-heapviz debug tool (requires py-pillow) HEAPVIZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} MONOLITE_DESC= Use monolite to bootstrap mcs (otherwise use installed mcs) MONOLITE_DISTFILES= monolite-linux-${MONOLITE_VERSION}-latest.tar.gz:monolite MONOLITE_MASTER_SITES= http://download.mono-project.com/monolite/:monolite MONOLITE_VERSION= 1051000004 NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext X11_USES= display:test USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ pathfix perl5 python shebangfix tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes USE_LDCONFIG= yes SHEBANG_FILES= scripts/mono-heapviz scripts/mono-package-runtime \ mono/mini/genmdesc.py mono/tests/test_lldb.py BINARY_ALIAS= python=${PYTHON_CMD} CONFIGURE_ARGS= --disable-dtrace --enable-btls CPPFLAGS+= -I${LOCALBASE}/include MAKE_ENV= MONO_SHARED_DIR="${WRKDIR}" \ INSTALL_STRIP_FLAG="${STRIP}" \ TZ=UTC TEST_ARGS= -k TEST_TARGET= check PORTSCOUT= limit:^\d+\.\d+\.[1-9]\d* #LOCALBASE?= /usr/local .if !exists(${LOCALBASE}/bin/mcs) OPTIONS_SLAVE= MONOLITE .endif .include .if ${ARCH:Mpowerpc*} PLIST+= ${.CURDIR}/pkg-plist.powerpc .endif .include .if ${ARCH} == "aarch64" EXTRA_PATCHES= ${FILESDIR}/extra-patch-aarch64-race-workaround PLIST_SUB+= BOEHM="@comment " .else PLIST_SUB+= BOEHM="" .endif post-extract-MONOLITE-on: ${MKDIR} ${WRKSRC}/mcs/class/lib/monolite-linux ${MV} ${WRKDIR}/monolite-linux-${MONOLITE_VERSION}-latest ${WRKSRC}/mcs/class/lib/monolite-linux/${MONOLITE_VERSION} post-patch: ${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/usr/bin/env bash|g' \ ${WRKSRC}/scripts/mono-find-provides.in \ ${WRKSRC}/scripts/mono-find-requires.in \ ${WRKSRC}/scripts/mono-test-install ${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${REINPLACE_CMD} \ -e 's|^#!/bin/bash|#!/bin/sh|g' ${SED} 's/tarball/${PORTVERSION}/' ${WRKSRC}/mono/mini/Makefile.am.in \ > ${WRKSRC}/mono/mini/Makefile.am ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}|g' \ ${WRKSRC}/mcs/class/corlib/System/Environment.cs \ ${WRKSRC}/external/corefx/src/System.Runtime.Extensions/src/System/Environment.Unix.cs ${REINPLACE_CMD} -e 's|/usr/share/.mono|${PREFIX}/share/mono|g' \ ${WRKSRC}/man/mono-configuration-crypto.1 \ ${WRKSRC}/man/mono.1 \ ${WRKSRC}/man/mozroots.1 post-configure: ${REINPLACE_CMD} -e 's|share\/man|man|g' \ ${WRKSRC}/mcs/jay/Makefile post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/mono +# XXX Drop after devel/msbuild >= 16.0 per https://github.com/mono/msbuild/commit/48f3571f4036 + ${RLN} ${STAGEDIR}${PREFIX}/lib/mono/msbuild/Current \ + ${STAGEDIR}${PREFIX}/lib/mono/msbuild/15.0 + ${ECHO_CMD} lib/mono/msbuild/15.0 >>${TMPPLIST} .include diff --git a/lang/mono6.8/Makefile b/lang/mono6.8/Makefile index d477f74f20f4..59bd251c8a67 100644 --- a/lang/mono6.8/Makefile +++ b/lang/mono6.8/Makefile @@ -1,122 +1,126 @@ PORTNAME= mono PORTVERSION= 6.8.0.123 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ PKGNAMESUFFIX= 6.8 DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Open source implementation of .NET Development Framework WWW= https://www.mono-project.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= riscv64 riscv64sf sparc64 BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ bash:shells/bash \ cmake-core>0:devel/cmake-core LIB_DEPENDS= libinotify.so:devel/libinotify RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ ca_root_nss>=0:security/ca_root_nss \ sqlite3>0:databases/sqlite3 \ zip>=0:archivers/zip CONFLICTS_INSTALL= certmgr coin-or-disco disco mono mono[0-9]* USES= autoreconf:2.69 bison compiler:c11 cpe gmake iconv libtool localbase \ pathfix perl5 python shebangfix tar:xz USE_PERL5= build GNU_CONFIGURE= yes USE_LDCONFIG= yes SHEBANG_FILES= mono/mini/genmdesc.py \ mono/tests/gc-descriptors/gen-descriptor-tests.py \ mono/tests/test_lldb.py scripts/mono-find-provides.in \ scripts/mono-find-requires.in scripts/mono-heapviz \ scripts/mono-package-runtime BINARY_ALIAS= python=${PYTHON_CMD} CONFIGURE_ARGS_aarch64= --with-csc=mcs CONFIGURE_ARGS= ${CONFIGURE_ARGS_${ARCH}} --disable-dtrace # Do not remove - this is needed to work around automake's lack of hinting CONFIGURE_ENV+= ac_cv_header_sys_inotify_h=yes MAKE_ENV= MONO_SHARED_DIR="${WRKDIR}" \ INSTALL_STRIP_FLAG="${STRIP}" TEST_ARGS= -k TEST_TARGET= check PORTSCOUT= limit:^\d+\.\d+\.[1-9]\d* # XXX MCL mat says: no. Options must not change themselves depending on what is installed. # XXX MCL just leave this out for now to try to get *something* done. # .if !exists(${LOCALBASE}/bin/mcs) # OPTIONS_SLAVE= MONOLITE # .endif # intentionally sorted alpha, then SPECTRE and MONODEV at the end # because they have performance and security implications OPTIONS_DEFINE= BIGARRAY MONOLITE NINJA NLS ODBC X11 SPECTRE MONODEV OPTIONS_DEFAULT= MONOLITE NLS X11 OPTIONS_SUB= yes BIGARRAY_DESC= Enable allocating arrays greater than Int32.MaxValue BIGARRAY_CONFIGURE_ENABLE= big-arrays MONOLITE_DESC= Use monolite to bootstrap mcs (otherwise use installed mcs) MONOLITE_DISTFILES= monolite-linux-${MONOLITE_VERSION}-latest.tar.gz:monolite MONOLITE_MASTER_SITES= http://download.mono-project.com/monolite/:monolite # DO NOT ALTER OR REMOVE. DANGER, CASE-SENSITIVE! # monolite 2020-01-13 @ 1798d23b MONOLITE_VERSION= 1798d23b-3dbc-4161-b3f4-6bb00134ee4e MONODEV_DESC= Build for Mono development (disables crash privacy) MONODEV_CONFIGURE_ON= --enable-icall-symbol-map --enable-icall-export --with-crash_privacy=no NINJA_DESC= Use ninja to build wherever possible NINJA_CONFIGURE_ON= --enable-ninja NINJA_USES= ninja:build NLS_DESC= NLS Localization Support NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext ODBC_DESC= System.Data: support for unixODBC ODBC_BUILD_DEPENDS= unixODBC>0:databases/unixODBC ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC SPECTRE_DESC= Enable internal Mono Spectre mitigations (SEE pkg-descr) SPECTRE_CONFIGURE_ON= --with-spectre-mitigation=yes X11_USES= display:test X11_CONFIGURE_WITH= x X11_RUN_DEPENDS= pango>0:x11-toolkits/pango \ libgdiplus>0:x11-toolkits/libgdiplus .include .if ${ARCH:Mpowerpc*} PLIST+= ${.CURDIR}/pkg-plist.powerpc .endif .include .if defined(QEMU_EMULATING) && "${QEMU_EMULATING}" == "1" BROKEN= fails to build under qemu: Roslyn requires more functional POSIX implementation .endif post-patch: # Needed to force regeneration due to tarball packaging ${RM} ${WRKSRC}/configure ${WRKSRC}/Makefile \ ${WRKSRC}/mono/Makefile \ ${WRKSRC}/mono/native/Makefile post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/mono +# XXX Drop after devel/msbuild >= 16.0 per https://github.com/mono/msbuild/commit/48f3571f4036 + ${RLN} ${STAGEDIR}${PREFIX}/lib/mono/msbuild/Current \ + ${STAGEDIR}${PREFIX}/lib/mono/msbuild/15.0 + ${ECHO_CMD} lib/mono/msbuild/15.0 >>${TMPPLIST} .include