[Pkg-cli-apps-commits] [SCM] monodevelop-debugger-gdb branch, master, updated. 96ec36c26ba1ed30e25f224a0ec5d67ab7f560a2

Mirco Bauer meebey at meebey.net
Mon Feb 23 20:39:35 UTC 2009


The following commit has been merged in the master branch:
commit 2f30b2429ce46b02627fbe6c36df4f63a7183e72
Author: Mirco Bauer <meebey at meebey.net>
Date:   Sat Feb 21 13:55:13 2009 +0100

    made patch to use csc as compiler

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..45e61c8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_csc_compiler
diff --git a/debian/patches/use_csc_compiler b/debian/patches/use_csc_compiler
new file mode 100644
index 0000000..45ece62
--- /dev/null
+++ b/debian/patches/use_csc_compiler
@@ -0,0 +1,20 @@
+--- monodevelop-debugger-gdb-1.9.2.orig/MonoDevelop.Debugger.Gdb.make
++++ monodevelop-debugger-gdb-1.9.2/MonoDevelop.Debugger.Gdb.make
+@@ -8,7 +8,7 @@
+ include $(top_srcdir)/config.make
+ 
+ ifeq ($(CONFIG),DEBUG)
+-ASSEMBLY_COMPILER_COMMAND = gmcs
++ASSEMBLY_COMPILER_COMMAND = csc
+ ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG"
+ 
+ ASSEMBLY = build/MonoDevelop.Debugger.Gdb.dll
+@@ -23,7 +23,7 @@
+ endif
+ 
+ ifeq ($(CONFIG),RELEASE)
+-ASSEMBLY_COMPILER_COMMAND = gmcs
++ASSEMBLY_COMPILER_COMMAND = csc
+ ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize-
+ ASSEMBLY = build/MonoDevelop.Debugger.Gdb.dll
+ ASSEMBLY_MDB = 
diff --git a/debian/rules b/debian/rules
index 3aa8cb9..d216ee0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,10 @@ DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^
 VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
 
 include /usr/share/cli-common/cli.make
+include /usr/share/quilt/quilt.make
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	# poor man's configure
 	dh build --before dh_auto_configure
 	./configure --prefix=/usr 
@@ -29,6 +30,14 @@ binary-arch:
 binary-indep: build install
 	dh $@
 
+clean: clean-patched unpatch
+clean-patched:
+	dh clean --before dh_auto_clean
+	if [ -f config.make ]; then \
+		dh_auto_clean; \
+	fi
+	dh clean --after dh_auto_clean
+
 get-orig-source:
 	uscan \
 		--package $(DEB_SOURCE_NAME) \

-- 
monodevelop-debugger-gdb



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