[Pkg-voip-commits] r2474 - in openser/trunk/debian: . patches

Julien Blache jblache at costa.debian.org
Mon Oct 2 18:56:47 UTC 2006


Author: jblache
Date: 2006-10-02 18:56:47 +0000 (Mon, 02 Oct 2006)
New Revision: 2474

Added:
   openser/trunk/debian/patches/12_fail_on_build_failure.dpatch
Modified:
   openser/trunk/debian/changelog
   openser/trunk/debian/patches/00list
Log:
Fix main Makefile to abort the build if a module fails to build.


Modified: openser/trunk/debian/changelog
===================================================================
--- openser/trunk/debian/changelog	2006-10-02 02:02:31 UTC (rev 2473)
+++ openser/trunk/debian/changelog	2006-10-02 18:56:47 UTC (rev 2474)
@@ -4,8 +4,10 @@
 
   * debian/control:
     + openser-dbg is Priority: extra.
+  * debian/patches/12_fail_on_build_failure.dpatch:
+    + Added; abort the build if a module fails to build.
 
- -- Julien BLACHE <jblache at debian.org>  Sat, 16 Sep 2006 22:09:14 +0200
+ -- Julien BLACHE <jblache at debian.org>  Mon,  2 Oct 2006 20:55:10 +0200
 
 openser (1.1.0-3) unstable; urgency=low
 

Modified: openser/trunk/debian/patches/00list
===================================================================
--- openser/trunk/debian/patches/00list	2006-10-02 02:02:31 UTC (rev 2473)
+++ openser/trunk/debian/patches/00list	2006-10-02 18:56:47 UTC (rev 2474)
@@ -2,4 +2,5 @@
 02_openser.cfg
 10_no_lib64_on_64_bits
 11_always_smp
+12_fail_on_build_failure
 

Added: openser/trunk/debian/patches/12_fail_on_build_failure.dpatch
===================================================================
--- openser/trunk/debian/patches/12_fail_on_build_failure.dpatch	                        (rev 0)
+++ openser/trunk/debian/patches/12_fail_on_build_failure.dpatch	2006-10-02 18:56:47 UTC (rev 2474)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_fail_on_build_failure.dpatch by  <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fail the build if a module fails to build.
+
+ at DPATCH@
+diff -urNad openser-1.1.0~/Makefile openser-1.1.0/Makefile
+--- openser-1.1.0~/Makefile	2006-07-10 19:57:20.000000000 +0200
++++ openser-1.1.0/Makefile	2006-10-02 20:50:15.410352624 +0200
+@@ -149,7 +149,7 @@
+ 
+ .PHONY: modules
+ modules:
+-	- at for r in $(modules) "" ; do \
++	@set -e; for r in $(modules) "" ; do \
+ 		if [ -n "$$r" ]; then \
+ 			echo  "" ; \
+ 			echo  "" ; \


Property changes on: openser/trunk/debian/patches/12_fail_on_build_failure.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list