From: Nicholas Clark <nick@ccl4.org>
Date: Tue, 13 Jan 2009 17:08:36 +0000 (+0000)
Subject: ext/Hash/Util/Makefile.PL should not recurse to FieldHash's Makefile.PL
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=550428fe486b18884c31b9382019448ba993d840;p=p5sagit%2Fp5-mst-13.2.git

ext/Hash/Util/Makefile.PL should not recurse to FieldHash's Makefile.PL
*nix, VMS and Win32 all know how to (and have to) call the latter directly.
As is, targets in ext/Hash/Util/FieldHash get called twice, which may result
in race conditions, and certainly messes up make clean; make distclean;
---

diff --git a/ext/Hash/Util/Makefile.PL b/ext/Hash/Util/Makefile.PL
index 7b7c166..eee40c5 100644
--- a/ext/Hash/Util/Makefile.PL
+++ b/ext/Hash/Util/Makefile.PL
@@ -8,7 +8,7 @@ WriteMakefile(
     MAN3PODS        => {},  # Pods will be built by installman.
     NAME            => "Hash::Util",
     DEFINE          => "-DPERL_EXT",
-    DIR             => ['FieldHash'],
+    NORECURS        => 1, # Hash::Util::FieldHash is treated as distinct.
 );
 
 package MY;