Ticket #15099: patch-macports-vim-Portfile.diff
File patch-macports-vim-Portfile.diff, 1.4 KB (added by raimue (Rainer Müller), 16 years ago) |
---|
-
Portfile
39 39 distname ${name}[strsed ${vim_version} {g/\.//}] 40 40 dist_subdir ${distname} 41 41 42 # Can be removed once MacPorts 1.7.0 is released 43 if {![info exists frameworks_dir]} { 44 set frameworks_dir ${prefix}/Library/Frameworks 45 } 46 42 47 depends_build bin:gnutar:gnutar \ 43 48 bin:grep:grep 44 49 depends_lib port:ncurses \ … … 117 122 depends_lib-append port:perl5.8 118 123 } 119 124 variant python description {Enable Python scripting} { 120 configure.args-append --enable-pythoninterp 121 depends_lib-append port:python25 125 configure.args-append --enable-pythoninterp \ 126 --with-python=${prefix}/bin/python2.6 \ 127 --with-python-config-dir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/config/ 128 depends_lib-append port:python26 129 depends_build-append port:autoconf 130 configure.env-append PYTHON=python2.6 131 132 patchfiles-append patch-vim-python.diff 133 134 pre-configure { 135 system "autoconf ${worksrcpath}/src/configure.in > ${worksrcpath}/src/auto/configure" 136 } 122 137 } 123 138 variant ruby description {Enable Ruby scripting} { 124 139 configure.args-append --enable-rubyinterp