this seems to work, still not using the perl version, but this works the way it would
[p5sagit/p5-mst-13.2.git] / configpm
index af6f65a..17f02c5 100755 (executable)
--- a/configpm
+++ b/configpm
@@ -548,8 +548,11 @@ foreach my $prefix (qw(libs libswanted)) {
 $heavy_txt .= "EOVIRTUAL\n";
 
 $heavy_txt .= <<'ENDOFGIT';
-require 'Config_git.pl';
-$Config_SH_expanded .= $Config::Git_Data;
+eval { 
+       # do not have hairy conniptions if this isnt available
+       require 'Config_git.pl';
+       $Config_SH_expanded .= $Config::Git_Data;
+};
 ENDOFGIT
 
 $heavy_txt .= $fetch_string;