Package: c2hs
Version: 0.13.6-2
Severity: minor
Tags: patch

Hi,

thanks for maintaining this package.

As I just tried to get c2hs rebuilt for ubuntu (which worked well apart from
weakening some build-deps), I recognized that the shipped tests under
/usr/share/doc don't compile with the Makefile. So I wrote a tiny patch to fix
this problem. Maybe this is useful for you.

Cheers,
        Stefan.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12build1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
diff -Nur c2hs-0.13.6/c2hs/tests/Makefile c2hs-0.13.6.new/c2hs/tests/Makefile
--- c2hs-0.13.6/c2hs/tests/Makefile     2005-09-27 13:39:52.000000000 +0200
+++ c2hs-0.13.6.new/c2hs/tests/Makefile 2005-09-28 23:24:02.000000000 +0200
@@ -1,7 +1,8 @@
-include ../../mk/config.mk
+#include ../../mk/config.mk
 
-HCFLAGS= -package lang -fglasgow-exts -i../lib -L../lib -lc2hs
-C2HS   = ../c2hs
+HCFLAGS= -package lang -package c2hs -fglasgow-exts -lc2hs
+C2HS   = c2hs
+HC     ?= ghc6
 
 PRGMS = simple calls enums pointer structs marsh cpp
 

Reply via email to