diff --git a/ghc/utils/hstags/Makefile b/ghc/utils/hstags/Makefile
index c45966f0cc1df36014a4c2ac769037a8c96f2fc4..25538400cb2c664ef86045d96f701d6553167ab7 100644
--- a/ghc/utils/hstags/Makefile
+++ b/ghc/utils/hstags/Makefile
@@ -1,5 +1,6 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/version.mk
 
 # Note: might be overridden from cmd-line (see install rule below)
 INSTALLING=0
diff --git a/ghc/utils/hstags/hstags.prl b/ghc/utils/hstags/hstags.prl
index 70a98c72a6ad65e75e58edb4136a98d5805b752d..a74a5a98a9cb69d95de0e9abe1b2582b495ec368 100644
--- a/ghc/utils/hstags/hstags.prl
+++ b/ghc/utils/hstags/hstags.prl
@@ -56,9 +56,8 @@ while ($ARGV[0] =~ /^-./) {
     push(@Files, $_);
 }
 
-$ghc_version_info = ${ProjectVersionInt};
 $DoHsCpp = ( ! $DoCpp ) ? 'cat'
-			: "$HsCpp -D__HASKELL1__=2 -D__GLASGOW_HASKELL__=$ghc_version_info $Cpp_opts";
+			: "$HsCpp -D__HASKELL1__=2 -D__GLASGOW_HASKELL__=$ProjectVersionInt $Cpp_opts";
 
 # to find Prelude.hi and friends.
 $HsP_opts .= ( $INSTALLING  ? 
diff --git a/ghc/utils/mkdependHS/Makefile b/ghc/utils/mkdependHS/Makefile
index abcd8f65a0c334e13eaee9d3484be849e47d4a24..968459116d06d3d43fb71d29369eeb09b7900d0f 100644
--- a/ghc/utils/mkdependHS/Makefile
+++ b/ghc/utils/mkdependHS/Makefile
@@ -1,5 +1,6 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/version.mk
 INSTALLING=0
 
 boot :: all
diff --git a/ghc/utils/mkdependHS/mkdependHS.prl b/ghc/utils/mkdependHS/mkdependHS.prl
index b1e1e7c4bb5f322ddb479c3407c5f8245824162e..e821971d005e81abb5d3b2219037e1f22c29c13d 100644
--- a/ghc/utils/mkdependHS/mkdependHS.prl
+++ b/ghc/utils/mkdependHS/mkdependHS.prl
@@ -88,7 +88,6 @@ $Begin_magic_str = "# DO NOT DELETE: Beginning of Haskell dependencies\n";
 $End_magic_str = "# DO NOT DELETE: End of Haskell dependencies\n";
 @Obj_suffix =  ("o");
 @File_suffix = ();
-$ghc_version_info = ${ProjectVersionInt};
 
 $Import_dirs = '.';
 %Syslibs = ();
@@ -116,7 +115,7 @@ if ( $Status ) {
 
 push(@Defines,
      ( #OLD: "-D__HASKELL1__=$Haskell_1",
-      "-D__GLASGOW_HASKELL__=$ghc_version_info"));
+      "-D__GLASGOW_HASKELL__=$ProjectVersionInt"));
 
 @Import_dirs  = split(/:/,$Import_dirs);
 @Include_dirs = split(/\s+/,$Include_dirs); # still has -I's in it