[Pkg-ofed-commits] r502 - /branches/sid-uploads/libibumad/trunk/debian/

opensides-guest at alioth.debian.org opensides-guest at alioth.debian.org
Fri Oct 23 21:10:33 UTC 2009


Author: opensides-guest
Date: Fri Oct 23 21:10:33 2009
New Revision: 502

URL: http://svn.debian.org/wsvn/pkg-ofed/?sc=1&rev=502
Log:
- Cleanup for FTBFS on twice the man pages

Modified:
    branches/sid-uploads/libibumad/trunk/debian/control
    branches/sid-uploads/libibumad/trunk/debian/rules

Modified: branches/sid-uploads/libibumad/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ofed/branches/sid-uploads/libibumad/trunk/debian/control?rev=502&op=diff
==============================================================================
--- branches/sid-uploads/libibumad/trunk/debian/control (original)
+++ branches/sid-uploads/libibumad/trunk/debian/control Fri Oct 23 21:10:33 2009
@@ -2,10 +2,10 @@
 Priority: extra
 Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel at lists.alioth.debian.org>
 Uploaders: Benoit Mortier <benoit.mortier at opensides.be>, Guy Coates <gmpc at sanger.ac.uk>, Mario Lang <mlang at debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, automake, libtool, libibcommon-dev
+Build-Depends: debhelper (>= 7), autotools-dev, automake, libtool, libibcommon-dev, dpatch
 Standards-Version: 3.8.3
 Section: libs
-Homepage:  http://openfabrics.org/
+Homepage: http://openfabrics.org/
 
 Package: libibumad-dev
 Section: libdevel

Modified: branches/sid-uploads/libibumad/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ofed/branches/sid-uploads/libibumad/trunk/debian/rules?rev=502&op=diff
==============================================================================
--- branches/sid-uploads/libibumad/trunk/debian/rules (original)
+++ branches/sid-uploads/libibumad/trunk/debian/rules Fri Oct 23 21:10:33 2009
@@ -49,7 +49,7 @@
 	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --sysconfdir=/etc
 
 
-build: build-stamp
+build: patch build-stamp
 build-stamp:  config.status 
 	dh_testdir
 
@@ -58,7 +58,8 @@
 
 	touch $@
 
-clean: 
+clean:  clean-patched unpatch
+clean-patched:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
@@ -68,6 +69,15 @@
 	rm -f config.sub config.guess
 
 	dh_clean 
+
+patch: patch-stamp
+patch-stamp:
+	dpatch apply-all
+	dpatch cat-all >patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
 
 install: build
 	dh_testdir




More information about the Pkg-ofed-commits mailing list