package haskell-src-exts
tags 352690 patch
thanks

Hi,

I have prepared a patch will will make haskell-src-exts build from
source again in pbuilder and (probably) on m68k and amd64 as well.

Greetings Arjan 



diff -Naur haskell-src-exts-0.2/debian/changelog /home/arjan/temp/haskell-src-exts-0.2/debian/changelog
--- haskell-src-exts-0.2/debian/changelog	2006-04-18 23:14:14.000000000 +0200
+++ /home/arjan/temp/haskell-src-exts-0.2/debian/changelog	2006-04-18 23:13:12.000000000 +0200
@@ -1,3 +1,12 @@
+haskell-src-exts (0.2-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: adjust sed expression to fix FTBFS. (Closes: #352690)
+  * src/trhsx/trhsx.cabal: added base and haskell98 to the Build-
+    Depends.
+
+ -- Arjan Oosting <[EMAIL PROTECTED]>  Tue, 18 Apr 2006 23:13:12 +0200
+
 haskell-src-exts (0.2-2) unstable; urgency=low
 
   * Recompile against ghc 6.4.1.
diff -Naur haskell-src-exts-0.2/debian/rules /home/arjan/temp/haskell-src-exts-0.2/debian/rules
--- haskell-src-exts-0.2/debian/rules	2006-04-18 23:14:14.000000000 +0200
+++ /home/arjan/temp/haskell-src-exts-0.2/debian/rules	2006-04-19 00:02:24.000000000 +0200
@@ -12,6 +12,8 @@
 
 version=0.2
 
+ghc6_version := $(shell ghc6 --numeric-version)
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
@@ -28,7 +30,7 @@
 	dh_haskell_prep -plibghc6-src-exts-dev; \
 	dh_haskell_build -plibghc6-src-exts-dev;)
 
-	sed s,/usr/lib/haskell-packages/ghc6/lib/haskell-src-exts-$(version),`pwd`/src/haskell-src-exts/dist/build,g < src/haskell-src-exts/.installed-pkg-config > debian/tmp-installed-pkg
+	sed "s,/usr/lib/haskell-packages/ghc6/lib/haskell-src-exts-$(version)\(/ghc-$(ghc6_version)\)\?,`pwd`/src/haskell-src-exts/dist/build,g" < src/haskell-src-exts/.installed-pkg-config > debian/tmp-installed-pkg
 	echo '[]' > debian/tmp-package-conf
 	ghc-pkg -f debian/tmp-package-conf register debian/tmp-installed-pkg
 
diff -Naur haskell-src-exts-0.2/src/trhsx/trhsx.cabal /home/arjan/temp/haskell-src-exts-0.2/src/trhsx/trhsx.cabal
--- haskell-src-exts-0.2/src/trhsx/trhsx.cabal	2005-04-08 17:17:29.000000000 +0200
+++ /home/arjan/temp/haskell-src-exts-0.2/src/trhsx/trhsx.cabal	2006-04-18 23:06:19.000000000 +0200
@@ -3,7 +3,7 @@
 License:		PublicDomain
 Author:			Niklas Broberg
 Maintainer:		[EMAIL PROTECTED]
-Build-Depends:		haskell-src-exts
+Build-Depends:		base, haskell98, haskell-src-exts
 
 Executable:		trhsx
 Main-Is:		Hsx.hs

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend

Reply via email to