Eric Wong  committed 4a40cbd

perl: install private if the site version is older than our own

bdash (on IRC) had a problem with (via git-svn) when his
site installation of was older than the version we

Signed-off-by: Eric Wong <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 928c210

Comments (0)

Files changed (1)

File perl/Makefile.PL

 # We come with our own bundled It's not in the set of default
 # Perl modules so install it if it's not available on the system yet.
 eval { require Error };
-if ($@) {
+if ($@ || $Error::VERSION < 0.15009) {
 	$pm{''} = '$(INST_LIBDIR)/';