reassign 520860 haskell-convertible
tags 520860 + patch
thanks

Sorry, but nothing's changed in this regard between 6.8 and 6.10.
runghc is a wrapper that calls ghci, and the tier 2 platforms with
"GHCi No" listed at http://hackage.haskell.org/trac/ghc/wiki/Platforms
won't have the RTS linker that'd be needed for it.  That's all in
rts/Linker.c, in its arch-specific glory.

It's still better to not rely on runghc in build scripts.

--- orig/haskell-convertible-1.0.2/Makefile     2009-04-06 21:31:12.000000000 
+0300
+++ haskell-convertible-1.0.2/Makefile  2009-04-06 19:58:47.000000000 +0300
@@ -1,13 +1,14 @@
-all:
+all: setup
        @echo "Please use Cabal to build this package; not make."
-       runghc Setup.lhs configure
-       runghc Setup.lhs build
+       ./setup configure
+       ./setup build
 
-install:
-       runghc Setup.lhs install
+install: setup
+       ./setup install
 
-clean:
-       runghc Setup.lhs clean
+clean: setup
+       ./setup clean
+       rm -f setup Setup.o Setup.hi
 
 .PHONY: test
 test: test-ghc test-hugs
@@ -18,9 +19,12 @@
        @echo " ****** Running hugs tests"
        runhugs -98 +o -P$(PWD):$(PWD)/testsrc: testsrc/runtests.hs
 
-test-ghc:
+test-ghc: setup
        @echo " ****** Building GHC tests"
-       runghc Setup.lhs configure -f buildtests
-       runghc Setup.lhs build
+       ./setup configure -f buildtests
+       ./setup build
        @echo " ****** Running GHC tests"
        ./dist/build/runtests/runtests
+
+setup:
+       ghc6 -package Cabal Setup.lhs -o setup



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to