Revision
73962
Author
dports@macports.org
Date
2010-11-30 02:51:01 -0800 (Tue, 30 Nov 2010)

Log Message

git-core: set PYTHON_PATH during test and destroot phases (#27493)

Modified Paths

Diff

Modified: trunk/dports/devel/git-core/Portfile (73961 => 73962)


--- trunk/dports/devel/git-core/Portfile	2010-11-30 10:20:21 UTC (rev 73961)
+++ trunk/dports/devel/git-core/Portfile	2010-11-30 10:51:01 UTC (rev 73962)
@@ -5,6 +5,7 @@
 
 name              git-core
 version           1.7.3.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.
@@ -51,13 +52,13 @@
 test.target    test
 test.dir       ${worksrcpath}
 test.args      prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
-               PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1
+               PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1
 
 destroot.destdir  DESTDIR=${destroot} prefix=${prefix}
 destroot.target   install
 destroot.args     CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
                   prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
-                  PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 \
+                  PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1 \
                   NO_R_TO_GCC_LINKER=1
 
 post-destroot {