[Pkg-cli-apps-commits] [fsharp] 04/17: Disable NuGet usage during build

Jo Shields directhex at moszumanska.debian.org
Wed Dec 2 14:59:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to annotated tag debian/4.0.0.4+dfsg2-1
in repository fsharp.

commit f5c1f79af2bdf4ab956a4f36d1ccfcc746b327bf
Author: Jo Shields <jo.shields at xamarin.com>
Date:   Tue Dec 1 15:14:14 2015 +0000

    Disable NuGet usage during build
---
 debian/patches/no-nuget.patch | 13 +++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/no-nuget.patch b/debian/patches/no-nuget.patch
new file mode 100644
index 0000000..811cb2a
--- /dev/null
+++ b/debian/patches/no-nuget.patch
@@ -0,0 +1,13 @@
+Index: fsharp/src/FSharpSource.targets
+===================================================================
+--- fsharp.orig/src/FSharpSource.targets
++++ fsharp/src/FSharpSource.targets
+@@ -983,8 +983,4 @@ Some other NuGET monikers to support in
+   <PropertyGroup>
+     <SolutionDir>$(FSharpSourcesRoot)\..\</SolutionDir>
+   </PropertyGroup>
+-  <Import Project="$(FSharpSourcesRoot)\..\.nuget\NuGet.targets" />
+-  <Target Name="BeforeBuild" BeforeTargets="Build">
+-    <Exec Command="$(NuGetCommand) restore packages.config -PackagesDirectory packages" WorkingDirectory="$(FSharpSourcesRoot)\.."/>
+-  </Target>
+ </Project>
diff --git a/debian/patches/series b/debian/patches/series
index 810301f..129c53d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+no-nuget.patch
 integrate-powerpack-sources-into-buildsystem.patch
 debian-cli-policy.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/fsharp.git



More information about the Pkg-cli-apps-commits mailing list