Date: Fri, 18 Dec 2020 19:16:37 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558398 - in head: devel/dbus-sharp devel/newtonsoft-json emulators/mesen games/openbve games/openra graphics/nplot lang/fsharp x11-toolkits/gtk-sharp20 x11-toolkits/gtk-sharp30 Message-ID: <202012181916.0BIJGbvL061449@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Fri Dec 18 19:16:37 2020 New Revision: 558398 URL: https://svnweb.freebsd.org/changeset/ports/558398 Log: Mark various ports as BROKEN with Mono 5.20, and, in some other cases, Mono 6.8. PR: 238089 Submitted by: cem Obtained from: lonesome.com build regression testing Modified: head/devel/dbus-sharp/Makefile head/devel/newtonsoft-json/Makefile head/emulators/mesen/Makefile head/games/openbve/Makefile head/games/openra/Makefile head/graphics/nplot/Makefile head/lang/fsharp/Makefile head/x11-toolkits/gtk-sharp20/Makefile head/x11-toolkits/gtk-sharp30/Makefile Modified: head/devel/dbus-sharp/Makefile ============================================================================== --- head/devel/dbus-sharp/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/devel/dbus-sharp/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -19,10 +19,16 @@ USES= autoreconf gmake mono pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= mono +.include <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/devel/newtonsoft-json/Makefile ============================================================================== --- head/devel/newtonsoft-json/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/devel/newtonsoft-json/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -26,6 +26,12 @@ PLIST_FILES= lib/mono/Newtonsoft.Json/Newtonsoft.Json. lib/mono/gac/Newtonsoft.Json/7.0.0.0__b9a188c8922137c6/Newtonsoft.Json.pdb \ libdata/pkgconfig/Newtonsoft.Json.pc +.include <bsd.port.pre.mk> + +.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 \ @@ -41,4 +47,4 @@ do-install: (cd ${WRKDIR} && ${INSTALL_DATA} Newtonsoft.Json.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig) -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/emulators/mesen/Makefile ============================================================================== --- head/emulators/mesen/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/emulators/mesen/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -62,6 +62,12 @@ MONO_DESKTOP_ENTRIES= "Mesen" "NES/Famicom Emulator" \ LIBRETRO_ALL_TARGET= libretro +.include <bsd.port.pre.mk> + +.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: @@ -87,4 +93,4 @@ do-install-LIBRETRO-on: ${INSTALL_LIB} ${WRKSRC}/bin/mesen_libretro.${MESEN_ARCH}.so \ ${STAGEDIR}${PREFIX}/lib/libretro/mesen_libretro.so -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/games/openbve/Makefile ============================================================================== --- head/games/openbve/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/games/openbve/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -50,6 +50,12 @@ PORTDOCS= changelog.md credits.md routes-and-trains.tx OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.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 @@ -79,4 +85,4 @@ do-install-DOCS-on: ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/debian/,} \ ${STAGEDIR}${DOCSDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/games/openra/Makefile ============================================================================== --- head/games/openra/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/games/openra/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -55,6 +55,12 @@ INSTALL_TARGET= install install-man-page \ install-linux-mime install-linux-shortcuts PORTDATA= * +.include <bsd.port.pre.mk> + +.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} @@ -77,4 +83,4 @@ do-test: ${NUGET_PACKAGEDIR}/NUnit.ConsoleRunner/tools/nunit3-console.exe \ --noresult OpenRA.Test.nunit) -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/graphics/nplot/Makefile ============================================================================== --- head/graphics/nplot/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/graphics/nplot/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -26,6 +26,12 @@ PLIST_FILES= lib/mono/NPlot/NPlot.dll \ lib/mono/gac/NPlot/0.9.11.0__1d82a50c5d01c44e/NPlot.dll \ libdata/pkgconfig/NPlot.pc +.include <bsd.port.pre.mk> + +.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 @@ -39,4 +45,4 @@ do-install: -root ${STAGEDIR}${PREFIX}/lib/ -package NPlot -i bin/NPlot.dll) (cd ${WRKDIR} && ${INSTALL_DATA} NPlot.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig) -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/lang/fsharp/Makefile ============================================================================== --- head/lang/fsharp/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/lang/fsharp/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -32,4 +32,14 @@ do-test: MONO_PATH=${WRKSRC}/Release/net40/bin \ ./run-all.sh) -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> Modified: head/x11-toolkits/gtk-sharp20/Makefile ============================================================================== --- head/x11-toolkits/gtk-sharp20/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/x11-toolkits/gtk-sharp20/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -27,8 +27,14 @@ SHEBANG_FILES= parser/*.pl GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +.include <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/x11-toolkits/gtk-sharp30/Makefile ============================================================================== --- head/x11-toolkits/gtk-sharp30/Makefile Fri Dec 18 18:36:32 2020 (r558397) +++ head/x11-toolkits/gtk-sharp30/Makefile Fri Dec 18 19:16:37 2020 (r558398) @@ -26,8 +26,14 @@ SHEBANG_FILES= parser/*.pl USE_PERL5= run MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +.include <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012181916.0BIJGbvL061449>