[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

haskell-devscripts



Hello,

I've found a bug in dh_configure_patch, which was making it impossible
to build with ghc6 6.10.1+dfsg1-5 (haven't tested with 6.8).  The patch
is simple and it's available.  I checked the bugs reported and I started
to fix them.

I'd like to adopt this package if the maintainer is not interested in it
anymore, or to do an NMU to experimental, with some fixes.  I'm working
on it right now, and I thought it would be good to ask if it's okay
first.

Greetings.
-- 
marcot
http://marcot.iaaeee.org/

--- dh_haskell_configure~       2008-05-01 08:39:15.000000000 -0300
+++ dh_haskell_configure        2009-02-05 13:18:20.000000000 -0200
@@ -122,7 +122,10 @@
        print " CONFIGURING $package FOR $pkgtype";
        print "\n ****************************************** \n\n";
 
-       doit("./setup", "clean");
+        # ./setup clean will exit with error if there's no .buildinfo file
+        if (-e glob "*.buildinfo") {
+            doit("./setup", "clean");
+        }
        foreach my $file (glob ".*config*") {
            unlink $file or die "Could not remove '$file': $1\n";
        }

Reply to: