File: 01_fix_nunit_reference.dpatch

package info (click to toggle)
cecil-flowanalysis 0.1~svn.128879-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,048 kB
  • ctags: 1,368
  • sloc: cs: 5,512; makefile: 86; sh: 45; ansic: 7; php: 1
file content (32 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_fix_nunit_reference.dpatch by Jelmer Vernooij <jelmer@samba.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix reference to nunit library.

@DPATCH@
diff -urNad flowanalysis~/default.build flowanalysis/default.build
--- flowanalysis~/default.build	2009-05-06 10:45:11.000000000 +0100
+++ flowanalysis/default.build	2009-05-06 10:46:16.000000000 +0100
@@ -1,8 +1,6 @@
 <?xml version="1.0"?>
 <project name="Cecil.FlowAnalysis" default="test">
 
-	<include buildfile="nunit.inc" />
-
 	<property name="Mono.Cecil.dll" value="../../mcs/class/Mono.Cecil/bin/Mono.Cecil.dll" />
 	<property name="build.dir" value="bin" />
 	<property name="booi" value="booi" />
@@ -60,8 +58,10 @@
 			<references basedir="${build.dir}">
 				<include name="Cecil.FlowAnalysis.dll" />
 				<include name="Mono.Cecil.dll" />
-				<include name="${nunit.framework.dll}" />
 			</references>
+			<pkg-references>
+				<package name="nunit"/>
+			</pkg-references>
 		</csc>
 	</target>