aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-hmake
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-02-28 21:26:08 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-02-28 21:26:08 +0000
commit2eb1a06defd39725dcb651bb2f32152add45c8c5 (patch)
tree2a7bea2f520e8e09f21d4b639c5e9ea6e55dbb32 /devel/hs-hmake
parentd11098027e7065973d87b11f6b0c50d5a2a0df31 (diff)
downloadports-2eb1a06defd39725dcb651bb2f32152add45c8c5.tar.gz
ports-2eb1a06defd39725dcb651bb2f32152add45c8c5.zip
Notes
Diffstat (limited to 'devel/hs-hmake')
-rw-r--r--devel/hs-hmake/files/patch-src-hmake-Config.hs11
-rw-r--r--devel/hs-hmake/files/patch-src-hmake-PackageConfig.hs11
2 files changed, 22 insertions, 0 deletions
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
diff --git a/devel/hs-hmake/files/patch-src-hmake-PackageConfig.hs b/devel/hs-hmake/files/patch-src-hmake-PackageConfig.hs
new file mode 100644
index 000000000000..b7aa42627db9
--- /dev/null
+++ b/devel/hs-hmake/files/patch-src-hmake-PackageConfig.hs
@@ -0,0 +1,11 @@
+--- src/hmake/PackageConfig.hs.orig 2006-08-21 17:30:46.000000000 +0200
++++ src/hmake/PackageConfig.hs 2008-02-28 22:19:23.000000000 +0100
+@@ -51,7 +51,7 @@
+ else unsafePerformIO $ do
+ pkgcfg <- runAndReadStdout (ghc++" --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