1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-05-04 23:47:37 -04:00

lang/dotnet: Rework a patch according to upstream recommendations

This commit is contained in:
Gleb Popov 2025-04-13 13:47:43 +03:00
parent 2262e664f7
commit 915f5bc2b5
2 changed files with 10 additions and 4 deletions

View file

@ -104,10 +104,6 @@ post-extract:
${ELFCTL} -e +noaslr ${WRKDIR}/bootstrap_sdk/dotnet
post-patch:
${REINPLACE_CMD} -e 's|linux-${DOTNET_ARCH}|freebsd-${DOTNET_ARCH}|g' \
${WRKDIR}/bootstrap_sdk/sdk/${BOOTSTRAP_SDKVERSION}/Microsoft.NETCoreSdk.BundledVersions.props
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${DOTNET_ENV} ./build.sh \
--release-manifest release.json \

View file

@ -0,0 +1,10 @@
--- src/roslyn-analyzers/src/PerformanceTests/Tests/PerformanceTests.csproj.orig 2025-03-15 17:17:42 UTC
+++ src/roslyn-analyzers/src/PerformanceTests/Tests/PerformanceTests.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
+ <TargetFramework>net8.0</TargetFramework>
<LangVersion>preview</LangVersion>
<Nullable>disable</Nullable>
<OutputType>Exe</OutputType>