git: 0aac6cb67ae0 - main - lang/dotnet: Add a patch to disable creating PDB archive.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jan 2024 09:29:08 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0aac6cb67ae0972b8e87a0de8a72b7d98415cafe
commit 0aac6cb67ae0972b8e87a0de8a72b7d98415cafe
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-08 16:59:06 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-29 09:28:21 +0000
lang/dotnet: Add a patch to disable creating PDB archive.
---
lang/dotnet/files/patch-build.proj | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
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)" />