tags 424493 + patch
thanks

Hello,

The problem is in the call of unpatched Makefile.PL in debclean. I
propose this patch to fix the issue. BTW, it also cleans some build
leftovers which are not removed by upstream Makefile.


Cheers,

-- 
Stéphane Glondu
diff -u libapache-authcookie-perl-3.10/debian/changelog 
libapache-authcookie-perl-3.10/debian/changelog
--- libapache-authcookie-perl-3.10/debian/changelog
+++ libapache-authcookie-perl-3.10/debian/changelog
@@ -1,3 +1,10 @@
+libapache-authcookie-perl (3.10-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS if built twice in a row (Closes: #424493)
+
+ -- Stephane Glondu <[EMAIL PROTECTED]>  Sun, 06 Jul 2008 18:08:24 +0000
+
 libapache-authcookie-perl (3.10-1) unstable; urgency=low
 
   * New upstream release
@@ -54 +60,0 @@
-
diff -u libapache-authcookie-perl-3.10/debian/rules 
libapache-authcookie-perl-3.10/debian/rules
--- libapache-authcookie-perl-3.10/debian/rules
+++ libapache-authcookie-perl-3.10/debian/rules
@@ -34,7 +34,12 @@
        dh_testdir
        dh_testroot
 
-       [ ! -f Makefile ] || $(MAKE) distclean
+       [ ! -f Makefile ] || { \
+         debian/rules patch; \
+         $(MAKE) distclean; \
+         debian/rules unpatch; \
+       }
+       -rm -f Makefile.old Makefile t/TEST t/lib/Sample/AuthCookieHandler.pm
 
        dh_clean configure-stamp build-stamp
 

Reply via email to