Ticket #26155: vim-python27.patch
File vim-python27.patch, 2.0 KB (added by dackze+macports@…, 14 years ago) |
---|
-
Portfile
old new 133 133 depends_lib-append path:bin/perl:perl5 134 134 } 135 135 variant python requires python25 description {Compatibility variant, requires +python25} {} 136 variant python25 conflicts python26 python 31 description {Enable Python scripting} {136 variant python25 conflicts python26 python27 python31 description {Enable Python scripting} { 137 137 configure.args-append --enable-pythoninterp --with-python=${prefix}/bin/python2.5 138 138 patchfiles-append patch-python.diff 139 139 depends_lib-append port:python25 … … 142 142 # Overwriting autoconf.cmd above removes dependency, add it again 143 143 depends_build-append port:autoconf 144 144 } 145 variant python26 conflicts python25 python 31 description {Enable Python scripting} {145 variant python26 conflicts python25 python27 python31 description {Enable Python scripting} { 146 146 configure.args-append --enable-pythoninterp --with-python=${prefix}/bin/python2.6 147 147 patchfiles-append patch-python.diff 148 148 depends_lib-append port:python26 … … 151 151 # Overwriting autoconf.cmd above removes dependency, add it again 152 152 depends_build-append port:autoconf 153 153 } 154 variant python31 conflicts python25 python26 description {Enable Python scripting} { 154 variant python27 conflicts python25 python26 python31 description {Enable Python scripting} { 155 configure.args-append --enable-pythoninterp --with-python=${prefix}/bin/python2.7 156 patchfiles-append patch-python.diff 157 depends_lib-append port:python27 158 159 use_autoconf yes 160 # Overwriting autoconf.cmd above removes dependency, add it again 161 depends_build-append port:autoconf 162 } 163 variant python31 conflicts python25 python26 python27 description {Enable Python scripting} { 155 164 configure.args-append --enable-python3interp --with-python=${prefix}/bin/python3.1 156 165 patchfiles-append patch-python3.diff 157 166 depends_lib-append port:python31