pkgsrc/lang/ghc/patches/patch-ai
kristerw e05ef3d8ed Update ghc to version 6.6.
This version represent >19 month of development since the version 6.4,
and the list of changes is far too big to include here.  See
  http://www.haskell.org/ghc/docs/6.6/html/users_guide/release-6-6.html
for the list of user visible changes.
2007-03-24 17:57:19 +00:00

62 lines
1.8 KiB
Text

$NetBSD: patch-ai,v 1.6 2007/03/24 17:57:20 kristerw Exp $
--- ../ghc-6.4.2/distrib/prep-bin-dist-mingw.orig 2006-03-19 04:26:18.000000000 +0100
+++ ../ghc-6.4.2/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