Index: head/devel/dbus-sharp/Makefile =================================================================== --- head/devel/dbus-sharp/Makefile (revision 558397) +++ head/devel/dbus-sharp/Makefile (revision 558398) @@ -1,28 +1,34 @@ # Created by: Tom McLaughlin # $FreeBSD$ PORTNAME= dbus-sharp PORTVERSION= 0.8.1 PORTREVISION= 1 DISTVERSIONPREFIX=v PORTEPOCH= 1 CATEGORIES= devel gnome MAINTAINER= mono@FreeBSD.org COMMENT= Mono interface to the D-BUS messaging system LICENSE= MIT GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_GMCS=${LOCALBASE}/bin/mcs USES= autoreconf gmake mono pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= mono +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly +.endif + post-patch: # libc.so is an LD script not usable by dllmap, so we have to set a proper # version number. @${REINPLACE_CMD} -e 's|libc.so.6|libc.so.7|' \ ${WRKSRC}/src/dbus-sharp.dll.config -.include +.include Index: head/devel/newtonsoft-json/Makefile =================================================================== --- head/devel/newtonsoft-json/Makefile (revision 558397) +++ head/devel/newtonsoft-json/Makefile (revision 558398) @@ -1,44 +1,50 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ PORTNAME= newtonsoft-json PORTVERSION= 9.0.1 PORTREVISION= 2 CATEGORIES= devel MAINTAINER= ports@FreeBSD.org COMMENT= Popular high-performance JSON framework for .NET LICENSE= MIT USES= mono USE_GITHUB= yes GH_ACCOUNT= JamesNK GH_PROJECT= Newtonsoft.Json SUB_FILES= Newtonsoft.Json.pc NO_ARCH= yes PLIST_FILES= lib/mono/Newtonsoft.Json/Newtonsoft.Json.dll \ lib/mono/gac/Newtonsoft.Json/7.0.0.0__b9a188c8922137c6/Newtonsoft.Json.dll \ lib/mono/gac/Newtonsoft.Json/7.0.0.0__b9a188c8922137c6/Newtonsoft.Json.pdb \ libdata/pkgconfig/Newtonsoft.Json.pc +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly +.endif + do-build: (cd ${WRKSRC}/Src/Newtonsoft.Json && ${SETENV} ${MAKE_ENV} xbuild Newtonsoft.Json.csproj \ /property:SignAssembly=true \ /property:AssemblyOriginatorKeyFile=Dynamic.snk \ /property:Configuration=Release \ /property:DefineConstants='SIGNED NET45 TRACE') do-install: (cd ${WRKSRC}/Src/Newtonsoft.Json/bin/Release/Net45 && \ ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil \ /root ${STAGEDIR}${PREFIX}/lib/ \ /package Newtonsoft.Json /i Newtonsoft.Json.dll) (cd ${WRKDIR} && ${INSTALL_DATA} Newtonsoft.Json.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig) -.include +.include Index: head/emulators/mesen/Makefile =================================================================== --- head/emulators/mesen/Makefile (revision 558397) +++ head/emulators/mesen/Makefile (revision 558398) @@ -1,90 +1,96 @@ # $FreeBSD$ PORTNAME= mesen DISTVERSION= 0.9.8-4 PORTREVISION= 2 DISTVERSIONSUFFIX= -g4c701ad6 CATEGORIES= emulators MAINTAINER= greg@unrelenting.technology COMMENT= Cross-platform Nintendo Entertainment System (NES/Famicom) emulator 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}" \ SYSTEM_LIBEVDEV=true MESEN_ARCH= ${ARCH:S/amd64/x64/:S/i386/x86/} .if exists(/usr/lib/libc++fs.a) MAKE_ARGS+= FSLIB=-lc++fs .elif exists(/usr/lib/libc++experimental.a) # XXX Remove after FreeBSD 12.0 EOL MAKE_ARGS+= FSLIB=-lc++experimental .else # XXX Remove after FreeBSD 11.2 EOL USE_GCC= yes .endif # XXX Always enable LTO after FreeBSD 11.2 and 12.0 EOL .if defined(USE_GCC) || (${/usr/bin/ld:L:tA} == /usr/bin/ld.lld) MAKE_ARGS+= LTO=true .endif 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 +.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 +.include Index: head/games/openbve/Makefile =================================================================== --- head/games/openbve/Makefile (revision 558397) +++ head/games/openbve/Makefile (revision 558398) @@ -1,82 +1,88 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= openbve PORTVERSION= 1.7.2.2 CATEGORIES= games MAINTAINER= danfe@FreeBSD.org COMMENT= Realistic 3D train/railway simulator LICENSE= PD BUILD_DEPENDS= msbuild:devel/msbuild \ gdate:sysutils/coreutils LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus USE_GITHUB= yes GH_ACCOUNT= leezer3 GH_PROJECT= OpenBVE USES= gmake mono:nuget openal:soft MAKEFILE= makefile ALL_TARGET= all-release NUGET_DEPENDS= CS-Script.lib=3.30.3 \ DotNetZip=1.13.8 \ NAudio.Vorbis=1.2.0 \ NAudio=1.10.0 \ NLayer.NAudioSupport=1.0.0 \ NLayer=1.12.0 \ NVorbis=0.10.1 \ OpenTK.GLControl=3.1.0 \ OpenTK=3.3.1 \ Prism.Core=7.2.0.1422 \ ReactiveProperty.Core=7.1.0 \ ReactiveProperty=7.1.0 \ SharpCompress=0.25.1 \ System.Buffers=4.5.1 \ System.ComponentModel.Annotations=4.7.0 \ System.Memory=4.5.4 \ System.Numerics.Vectors=4.5.0 \ System.Reactive=4.4.1 \ System.Runtime.CompilerServices.Unsafe=4.7.1 \ 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 +.endif + post-patch: @${REINPLACE_CMD} -e '/Unix/s,bash,sh,' \ ${WRKSRC}/source/OpenBVE/OpenBve.csproj @${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 @${REINPLACE_CMD} -e 's,linux,${OPSYS:tl},' \ ${STAGEDIR}${DATADIR}/OpenTK.dll.config do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/debian/,} \ ${STAGEDIR}${DOCSDIR} -.include +.include Index: head/games/openra/Makefile =================================================================== --- head/games/openra/Makefile (revision 558397) +++ head/games/openra/Makefile (revision 558398) @@ -1,80 +1,86 @@ # $FreeBSD$ PORTNAME= openra DISTVERSIONPREFIX= release- DISTVERSION= 20200503 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 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-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 +.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.nunit) -.include +.include Index: head/graphics/nplot/Makefile =================================================================== --- head/graphics/nplot/Makefile (revision 558397) +++ head/graphics/nplot/Makefile (revision 558398) @@ -1,42 +1,48 @@ # $FreeBSD$ PORTNAME= nplot PORTVERSION= 0.9.11 PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= cs@innolan.dk COMMENT= Charting library for .NET LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgdiplus.so:x11-toolkits/libgdiplus \ libcairo.so:graphics/cairo RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts USE_GITHUB= yes GH_ACCOUNT= mhowlett GH_TAGNAME= 9a92e78 SUB_FILES= NPlot.pc USES= mono ssl PLIST_FILES= lib/mono/NPlot/NPlot.dll \ lib/mono/gac/NPlot/0.9.11.0__1d82a50c5d01c44e/NPlot.dll \ libdata/pkgconfig/NPlot.pc +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: Failure adding assembly dbus-sharp.dll to the cache: Strong name cannot be verified for delay-signed assembly +.endif + pre-build: openssl enc -base64 -d <${PATCHDIR}/Dynamic.key >${WRKSRC}/src/Dynamic.snk do-build: (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} xbuild NPlot.csproj \ /p:Configuration=Release /p:SignAssembly=true \ /p:AssemblyOriginatorKeyFile=Dynamic.snk) do-install: (cd ${WRKSRC}/src && ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil \ -root ${STAGEDIR}${PREFIX}/lib/ -package NPlot -i bin/NPlot.dll) (cd ${WRKDIR} && ${INSTALL_DATA} NPlot.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig) -.include +.include Index: head/lang/fsharp/Makefile =================================================================== --- head/lang/fsharp/Makefile (revision 558397) +++ head/lang/fsharp/Makefile (revision 558398) @@ -1,35 +1,45 @@ # Created by: Phillip Neumann # $FreeBSD$ PORTNAME= fsharp PORTVERSION= 10.2.1 CATEGORIES= lang EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= mono@FreeBSD.org COMMENT= Functional and object-oriented language for the .NET platform 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 +.include + +.if defined(MONO_DEFAULT) +.if ${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 Index: head/x11-toolkits/gtk-sharp20/Makefile =================================================================== --- head/x11-toolkits/gtk-sharp20/Makefile (revision 558397) +++ head/x11-toolkits/gtk-sharp20/Makefile (revision 558398) @@ -1,34 +1,40 @@ # Created by: Juli Mallett # $FreeBSD$ PORTNAME= gtk-sharp PORTVERSION= 2.12.45 PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://download.mono-project.com/sources/gtk-sharp212/ PKGNAMESUFFIX= 20 MAINTAINER= mono@FreeBSD.org COMMENT= GTK+ and GNOME interfaces for the .NET runtime LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML USES= gmake gnome libtool mono pathfix perl5 pkgconfig shebangfix USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk20 libglade2 USE_PERL5= run SHEBANG_FILES= parser/*.pl GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: 'Range' is an ambiguous reference between 'System.Range' and 'Gtk.Range' +.endif + post-patch: @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/glib/glue/*.c -.include +.include Index: head/x11-toolkits/gtk-sharp30/Makefile =================================================================== --- head/x11-toolkits/gtk-sharp30/Makefile (revision 558397) +++ head/x11-toolkits/gtk-sharp30/Makefile (revision 558398) @@ -1,33 +1,39 @@ # Created by: Juli Mallett # $FreeBSD$ PORTNAME= gtk-sharp PORTVERSION= 2.99.3 PORTREVISION= 3 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 30 MAINTAINER= kwm@FreeBSD.org COMMENT= GTK+ and GNOME interfaces for the .NET runtime LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libinotify.so:devel/libinotify RUN_DEPENDS= p5-XML-LibXML>=0:textproc/p5-XML-LibXML USES= gettext-runtime gmake gnome libtool mono pathfix perl5 \ pkgconfig shebangfix tar:xz GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 SHEBANG_FILES= parser/*.pl USE_PERL5= run MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +.include + +.if defined(MONO_DEFAULT) && ${MONO_DEFAULT} > 6 +BROKEN= fails to build with Mono version ${MONO_DEFAULT}: 'Range' is an ambiguous reference between 'System.Range' and 'Gtk.Range' +.endif + post-patch: @${REINPLACE_CMD} -e 's|gmcs|mcs|g' \ ${WRKSRC}/configure -.include +.include