tags 666284 + patch
thanks

On 30/03/12 11:22, Lucas Nussbaum wrote:
> Relevant part:
>>  debian/rules build-arch
>> dh build-arch
>>    dh_testdir -a
>>    dh_auto_configure -a
>>    dh_auto_build -a
>> make[1]: Entering directory `/«PKGBUILDDIR»'
>> Makefile:16: Makefile.: No such file or directory
>> make[1]: *** No rule to make target `Makefile.'.  Stop.
>> make[1]: Leaving directory `/«PKGBUILDDIR»'
>> dh_auto_build: make -j1 returned exit code 2
>> make: *** [build-arch] Error 2

Please find attached a patch to fix this FTBFS.

Regards
-- 
Sebastian Ramacher
diff -u avbin-7/debian/rules avbin-7/debian/rules
--- avbin-7/debian/rules
+++ avbin-7/debian/rules
@@ -1,14 +1,12 @@
 #!/usr/bin/make -f
 
-build:
-	dh build --before configure
+override_dh_auto_configure:
 	sh ./bootstrap.sh
 	dh_auto_configure
-	dh build --after configure
 
 clean:
 	dh clean
-	rm -f config.guess config.sub ltmain.sh install-sh missing depcomp aclocal.m4 configure config.h.in Makefile.in src/Makefile.in
+	rm -rf config.guess config.sub ltmain.sh install-sh missing depcomp aclocal.m4 configure config.h.in Makefile.in src/Makefile.in m4
 
 %:
 	dh $@
diff -u avbin-7/debian/control avbin-7/debian/control
--- avbin-7/debian/control
+++ avbin-7/debian/control
@@ -3,7 +3,7 @@
 Uploaders: Matthew Johnson <mj...@debian.org>
 Section: utils
 Priority: extra
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 7.0.50~),
                libtool,
                autoconf,
                automake,
diff -u avbin-7/debian/changelog avbin-7/debian/changelog
--- avbin-7/debian/changelog
+++ avbin-7/debian/changelog
@@ -1,3 +1,14 @@
+avbin (7-1.3) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules:
+    - Replace deprecated dh --after and dh --before calls with overrides
+      (Closes: #666284).
+    - Remove m4 to be able to build twice.
+  * debian/control: Bump debhelper Buil-Dep to 7.0.50~ for overrides support.
+
+ -- Sebastian Ramacher <s.ramac...@gmx.at>  Sun, 08 Apr 2012 19:22:38 +0200
+
 avbin (7-1.2) unstable; urgency=low
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to