aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2024-01-08 16:59:06 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-01-29 09:28:21 +0000
commit0aac6cb67ae0972b8e87a0de8a72b7d98415cafe (patch)
treeedcddd3a03228412ec43a182291198bcb155eee5
parent48daa424f9b65b1610a331658091fa9b439f6903 (diff)
downloadports-0aac6cb67ae0972b8e87a0de8a72b7d98415cafe.tar.gz
ports-0aac6cb67ae0972b8e87a0de8a72b7d98415cafe.zip
lang/dotnet: Add a patch to disable creating PDB archive.
-rw-r--r--lang/dotnet/files/patch-build.proj33
1 files changed, 33 insertions, 0 deletions
diff --git a/lang/dotnet/files/patch-build.proj b/lang/dotnet/files/patch-build.proj
new file mode 100644
index 000000000000..21e6586c9ff8
--- /dev/null
+++ b/lang/dotnet/files/patch-build.proj
@@ -0,0 +1,33 @@
+--- build.proj.orig 2023-11-01 21:55:24 UTC
++++ build.proj
+@@ -103,8 +103,7 @@
+
+ <!-- After building, create the sdk symbols tarball. -->
+ <Target Name="CreateSdkSymbolsTarball"
+- AfterTargets="Build"
+- DependsOnTargets="RepackageSymbols">
++ AfterTargets="Build">
+ <ItemGroup>
+ <SdkTarballItem Include="$(OutputPath)dotnet-sdk-*$(TarBallExtension)" />
+ </ItemGroup>
+@@ -115,20 +114,6 @@
+ <SdkLayout>$(ArtifactsTmpDir)Sdk</SdkLayout>
+ <SdkTarball>%(SdkTarballItem.Identity)</SdkTarball>
+ </PropertyGroup>
+-
+- <MakeDir Directories="$(SdkLayout)" />
+- <Exec Command="tar -xzf $(SdkTarball) -C $(SdkLayout)"
+- WorkingDirectory="$(OutputPath)" />
+-
+- <CreateSdkSymbolsLayout SdkLayoutPath="$(SdkLayout)"
+- AllSymbolsPath="$(UnifiedSymbolsLayout)"
+- SdkSymbolsLayoutPath="$(SdkSymbolsLayout)"
+- FailOnMissingPDBs="true" />
+-
+- <Exec Command="tar --numeric-owner -czf $(SdkSymbolsTarball) *"
+- WorkingDirectory="$(SdkSymbolsLayout)" />
+-
+- <Message Importance="High" Text="Packaged sdk symbols in '$(SdkSymbolsTarball)'" />
+
+ <RemoveDir Directories="$(UnifiedSymbolsLayout)" />
+ <RemoveDir Directories="$(SdkSymbolsLayout)" />