Ticket #27493: macports_git-core.diff

File macports_git-core.diff, 994 bytes (added by corwin.amber@…, 14 years ago)

I have used this patch successfully in this case (gen by svn diff).

  • Portfile

     
    5151test.target    test
    5252test.dir       ${worksrcpath}
    5353test.args      prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
    54                PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1
     54               PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1
    5555
    5656destroot.destdir  DESTDIR=${destroot} prefix=${prefix}
    5757destroot.target   install
    5858destroot.args     CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
    5959                  prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \
    60                   PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 \
     60                  PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1 \
    6161                  NO_R_TO_GCC_LINKER=1
    6262
    6363post-destroot {