--- perl/Makefile.PL.orig	Sun Oct 11 03:42:04 2009
+++ perl/Makefile.PL	Mon Oct 12 15:38:28 2009
@@ -1,4 +1,5 @@
 use ExtUtils::MakeMaker;
+use Config;
 
 sub MY::postamble {
 	return <<'MAKE_FRAG';
@@ -34,5 +35,6 @@ WriteMakefile(
 	VERSION_FROM    => 'Git.pm',
 	PM		=> \%pm,
 	MAKEFILE	=> 'perl.mak',
-	INSTALLSITEMAN3DIR => '$(SITEPREFIX)/share/man/man3'
+	INSTALLARCHLIB	=> $Config{installsitearch},
+	INSTALLSITEMAN3DIR => '$(SITEPREFIX)/man/man3p'
 );
