File: 00_build-system.patch

package info (click to toggle)
gdata-sharp 2.2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 66,084 kB
  • ctags: 10,453
  • sloc: cs: 67,781; xml: 38,234; python: 163; makefile: 149; sh: 27
file content (22 lines) | stat: -rw-r--r-- 1,342 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: gdata-sharp/Makefile
===================================================================
--- gdata-sharp.orig/Makefile	2012-06-01 00:50:40.470451408 +0800
+++ gdata-sharp/Makefile	2012-06-01 00:51:09.000000000 +0800
@@ -70,7 +70,7 @@
          $(wildcard src/unittests/core/*.cs)  $(wildcard src/unittests/picasa/*.cs)
 
 Google.GData.Client.dll: $(core_sources) src/core/clientkey.sn
-	$(CSC) $(DEFINES) -target:library -out:$@ $(core_sources) $(FRAMEWORK_REFS) -keyfile:src/core/clientkey.sn
+	$(CSC) $(DEFINES) -target:library -out:$@ $(core_sources) $(FRAMEWORK_REFS) -pkg:newtonsoft-json -keyfile:src/core/clientkey.sn
 
 Google.GData.Extensions.dll: Google.GData.Client.dll $(extension_sources) src/extensions/extensionkey.sn
 	$(CSC) $(DEFINES) -target:library -out:$@ -r:Google.GData.Client.dll $(extensions_sources) $(FRAMEWORK_REFS) -keyfile:src/extensions/extensionkey.sn
@@ -119,7 +119,7 @@
 	for i in $(PKGCONFIG_FILES) ; do rm "$(DESTDIR)$(PKGCONFIGDIR)/$$i" ; done
 
 tests: $(ALLLIBS)
-	$(CSC) $(DEFINES) -target:library -out:unittests.dll $(ALLREFS) -r:nunit.framework.dll $(test_sources)
+	$(CSC) $(DEFINES) -target:library -out:unittests.dll $(ALLREFS) -pkg:nunit $(test_sources)
 
 gapps_sample_sources = samples/appsforyourdomain/appsdemo.cs
 gapps_appsdemo.exe: $(ALLLIBS) $(gapps_sample_sources)