mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
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
This commit is contained in:
parent
673adcde6c
commit
4efe7bdc2b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558398
@ -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>
|
||||
|
@ -26,6 +26,12 @@ PLIST_FILES= lib/mono/Newtonsoft.Json/Newtonsoft.Json.dll \
|
||||
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>
|
||||
|
@ -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>
|
||||
|
@ -50,6 +50,12 @@ PORTDOCS= changelog.md credits.md routes-and-trains.txt
|
||||
|
||||
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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user