[Pkg-haskell-commits] darcs: bnfc: Import version 2.4.2.0-2

Antti-Juhani Kaijanaho ajk at debian.org
Sat May 11 12:01:37 UTC 2013


Sat May 11 11:51:04 UTC 2013  Antti-Juhani Kaijanaho <ajk at debian.org>
  * Import version 2.4.2.0-2
  Ignore-this: c257af514016246e0cf0593bc1b61e9c

    M ./changelog +7
    M ./rules -4 +6

Sat May 11 11:51:04 UTC 2013  Antti-Juhani Kaijanaho <ajk at debian.org>
  * Import version 2.4.2.0-2
  Ignore-this: c257af514016246e0cf0593bc1b61e9c
diff -rN -u old-bnfc//changelog new-bnfc//changelog
--- old-bnfc//changelog	2013-05-11 12:01:37.530024539 +0000
+++ new-bnfc//changelog	2013-05-11 12:01:37.578023456 +0000
@@ -1,3 +1,10 @@
+bnfc (2.4.2.0-2) unstable; urgency=low
+
+  * debian/rules: Compile Setup.lhs at configure time, as some architectures
+    apparently lack runghc.
+
+ -- Antti-Juhani Kaijanaho <ajk at debian.org>  Sun, 01 Apr 2012 22:25:51 +0300
+
 bnfc (2.4.2.0-1) unstable; urgency=low
 
   * New upstream release.
diff -rN -u old-bnfc//rules new-bnfc//rules
--- old-bnfc//rules	2013-05-11 12:01:37.522024432 +0000
+++ new-bnfc//rules	2013-05-11 12:01:37.554026817 +0000
@@ -3,16 +3,18 @@
 	dh $@
 
 override_dh_auto_configure:
-	runghc Setup.lhs configure --ghc \
+	ghc --make -o Setup Setup.lhs
+	./Setup configure --ghc \
 		--prefix=/usr --docdir=/usr/share/doc/bnfc
 
 override_dh_auto_build:
-	runghc Setup.lhs build
+	./Setup build
 
 override_dh_auto_install:
-	runghc Setup.lhs copy --destdir=debian/bnfc
+	./Setup copy --destdir=debian/bnfc
 	rm debian/bnfc/usr/share/doc/bnfc/COPYING
 
 override_dh_auto_clean:
-	runghc Setup.lhs clean
+	set -e ; if [ -x ./Setup ]; then ./Setup clean ; fi
+	rm -f Setup Setup.hi Setup.o
 





More information about the Pkg-haskell-commits mailing list