From 2eb1a06defd39725dcb651bb2f32152add45c8c5 Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Thu, 28 Feb 2008 21:26:08 +0000 Subject: Fix build with ghc 6.8.2. --- devel/hs-hmake/files/patch-src-hmake-Config.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/hs-hmake/files/patch-src-hmake-Config.hs (limited to 'devel/hs-hmake/files/patch-src-hmake-Config.hs') diff --git a/devel/hs-hmake/files/patch-src-hmake-Config.hs b/devel/hs-hmake/files/patch-src-hmake-Config.hs new file mode 100644 index 000000000000..71078ca276b7 --- /dev/null +++ b/devel/hs-hmake/files/patch-src-hmake-Config.hs @@ -0,0 +1,11 @@ +--- src/hmake/Config.hs.orig 2006-07-07 18:01:16.000000000 +0200 ++++ src/hmake/Config.hs 2008-02-28 22:18:01.000000000 +0100 +@@ -267,7 +267,7 @@ + else do -- 5.00 and above + pkgcfg <- runAndReadStdout (escape ghcpath++" --print-libdir") + let libdir = escape pkgcfg +- incdir1 = libdir++"/imports" ++ incdir1 = if ghcsym < 608 then libdir++"/imports" else libdir++"/lib" + ok <- doesDirectoryExist incdir1 + if ok + then do -- cgit v1.2.3