Ticket #27583: git-core-python27.diff
File git-core-python27.diff, 1.9 KB (added by dackze+macports@…, 14 years ago) |
---|
-
trunk/dports/devel/git-core/Portfile
5 5 6 6 name git-core 7 7 version 1.7.3.2 8 revision 1 8 9 description A fast version control system 9 10 long_description Git is a fast, scalable, distributed open source version \ 10 11 control system focusing on speed and efficiency. … … 28 29 rmd160 2a3e82a28bc955ffadfa91c5459f992ed17fa9f2 29 30 30 31 depends_run port:rsync port:p5-error 31 depends_lib path:bin/perl:perl5 port:curl port:zlib port:openssl port:expat port:libiconv port:python2632 depends_lib path:bin/perl:perl5 port:curl port:zlib port:openssl port:expat port:libiconv 32 33 33 34 patchfiles patch-Makefile.diff 34 35 … … 43 44 build.args CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ 44 45 CC=${configure.cc} \ 45 46 prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \ 46 PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6"NO_FINK=1 NO_DARWIN_PORTS=1 \47 PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 \ 47 48 NO_R_TO_GCC_LINKER=1 48 49 49 50 test.run yes … … 86 87 } 87 88 } 88 89 90 if {![variant_isset python26] && ![variant_isset python27]} { 91 default_variants +python26 92 } 93 94 variant python26 conflicts python27 description {Use Python 2.6} { 95 build.args-append PYTHON_PATH="${prefix}/bin/python2.6" 96 depends_lib-append port:python26 97 } 98 99 variant python27 conflicts python26 description {Use Python 2.7} { 100 build.args-append PYTHON_PATH="${prefix}/bin/python2.7" 101 depends_lib-append port:python27 102 } 103 89 104 variant doc description {Install HTML and plaintext documentation} { 90 105 distfiles-append git-htmldocs-${version}${extract.suffix} 91 106 checksums-append git-htmldocs-${version}${extract.suffix} \