diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-14 02:45:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-14 02:45:10 +0000 |
commit | 9b22e8b648a6c791c045357b3ea2c8b557158fbf (patch) | |
tree | fd580f6bb0675b1feb75b8ee968c497d4ce3a78f /lang/ghc | |
parent | e42feda930a8aabf1a21e847534a588302f7ab70 (diff) | |
download | pkgsrc-9b22e8b648a6c791c045357b3ea2c8b557158fbf.tar.gz |
Fixed "test ==".
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/distinfo | 3 | ||||
-rw-r--r-- | lang/ghc/patches/patch-ai | 62 |
2 files changed, 64 insertions, 1 deletions
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo index 846b06bcbc4..2aca4783790 100644 --- a/lang/ghc/distinfo +++ b/lang/ghc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2006/07/31 02:07:13 kristerw Exp $ +$NetBSD: distinfo,v 1.16 2006/10/14 02:45:10 rillig Exp $ SHA1 (ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz) = 29c1a17a83ec0ddec8ff231e009c740ebc61dd6c RMD160 (ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz) = 5ce775a19797fe257357fedd33db2354dd50d2de @@ -11,3 +11,4 @@ SHA1 (patch-ab) = ae5fea00aad1f524fe4d26f614873c6e42a26603 SHA1 (patch-af) = e7432183001727b5c4b56260d0404fd782ad59af SHA1 (patch-ag) = 2b51360567c3742e1c9f57b3e01a5cc45f04d436 SHA1 (patch-ah) = 243b1b98ce48873ded6c45dd0ff3541e8284bf00 +SHA1 (patch-ai) = 0bb721b104608f5274e08d7afd4e835e9cebbf37 diff --git a/lang/ghc/patches/patch-ai b/lang/ghc/patches/patch-ai new file mode 100644 index 00000000000..5e0819774d6 --- /dev/null +++ b/lang/ghc/patches/patch-ai @@ -0,0 +1,62 @@ +$NetBSD: patch-ai,v 1.5 2006/10/14 02:45:10 rillig Exp $ + +--- distrib/prep-bin-dist-mingw.orig 2006-03-19 04:26:18.000000000 +0100 ++++ distrib/prep-bin-dist-mingw 2006-10-14 04:43:55.000000000 +0200 +@@ -27,25 +27,25 @@ + # - gcc_version -- what gcc version your mingw tree uses. + # + # +-if [ "x${old_ghc_top}" == "x" ]; then ++if [ "x${old_ghc_top}" = "x" ]; then + export old_ghc_top=c:/ghc/ghc-6.2.1 + fi +-if [ "x${mingw_top}" == "x" ]; then ++if [ "x${mingw_top}" = "x" ]; then + export mingw_top=c:/mingw3 + fi + + # The gcc-lib directory of the mingw tree you want to + # include with the binary dist. +-if [ "x${gcc_lib}" == "x" ]; then +- if [ "x${gcc_version}" == "x" ]; then ++if [ "x${gcc_lib}" = "x" ]; then ++ if [ "x${gcc_version}" = "x" ]; then + # The default (with mingw3) + export gcc_lib=$mingw_top/lib/gcc-lib/mingw32/3.2.3 + else + export gcc_lib=$mingw_top/lib/gcc-lib/mingw32/${gcc_version} + fi + fi +-if [ "x${gcc_libexec}" == "x" ]; then +- if [ "x${gcc_version}" == "x" ]; then ++if [ "x${gcc_libexec}" = "x" ]; then ++ if [ "x${gcc_version}" = "x" ]; then + # The default (with mingw3) + export gcc_libexec=$mingw_top/lib/gcc-lib/mingw32/3.2.3 + else +@@ -61,7 +61,7 @@ if [ "x${gcc_libexec}" == "x" ]; then + fi + + #Directory where a (cygwin-free) perl binary resides. +-if [ "x${perl_dir}" == "x" ]; then ++if [ "x${perl_dir}" = "x" ]; then + export perl_dir=$old_ghc_top + fi + +@@ -69,13 +69,13 @@ fi + # The mingw include, lib, and bin directories; all derived + # from ${mingw_top}. + # +-if [ "x${mingw_include}" == "x" ]; then ++if [ "x${mingw_include}" = "x" ]; then + export mingw_include=$mingw_top/include + fi +-if [ "x${mingw_lib}" == "x" ]; then ++if [ "x${mingw_lib}" = "x" ]; then + export mingw_lib=$mingw_top/lib + fi +-if [ "x${mingw_bin}" == "x" ]; then ++if [ "x${mingw_bin}" = "x" ]; then + export mingw_bin=$mingw_top/bin + fi + |