--- Portfile.orig	2008-09-23 07:27:59.000000000 +0200
+++ Portfile	2008-09-23 07:36:16.000000000 +0200
@@ -4,6 +4,7 @@
 
 name              git-core
 version           1.6.0.2
+revision          1
 description       A fast version control system
 long_description  Git is a fast, scalable, distributed open source version \
                   control system focusing on speed and efficiency.
@@ -34,20 +35,20 @@
 
 build.env      CFLAGS="-Wall -O2 -I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 build.args     prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
-               NO_FINK=1 NO_DARWIN_PORTS=1
+               PERL_PATH=${prefix}/bin/perl NO_FINK=1 NO_DARWIN_PORTS=1
 
 test.run       yes
 test.cmd       make
 test.target    test
 test.dir       ${worksrcpath}
 test.args      prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
-               NO_FINK=1 NO_DARWIN_PORTS=1
+               PERL_PATH=${prefix}/bin/perl NO_FINK=1 NO_DARWIN_PORTS=1
 
 destroot.destdir  DESTDIR=${destroot} prefix=${prefix}
 destroot.target   install
 destroot.env      CFLAGS="-Wall -O2 -I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 destroot.args     prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
-                  PERL_PATH="/usr/bin/env perl" NO_FINK=1 NO_DARWIN_PORTS=1
+                  PERL_PATH=${prefix}/bin/perl NO_FINK=1 NO_DARWIN_PORTS=1
 
 post-destroot {
     foreach f {1 5 7} {
