1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= standard loaded
7 SDESC[standard]= VIsual editor iMproved (basic options)
8 SDESC[loaded]= VIsual editor iMproved (all options + X)
9 HOMEPAGE= https://www.vim.org/
13 SITES[main]= GITHUB/vim:vim:v8.1.0116
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= LOADED
20 OPTIONS_STANDARD= none
21 VOPTS[loaded]= LOADED=ON
23 RUN_DEPENDS= cscope:single:standard
26 USES= cpe iconv ncurses pkgconfig shebangfix
29 LICENSE= CUSTOM1:single CUSTOM2:single
30 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
31 LICENSE_NAME= CUSTOM1:"VIM License"
32 CUSTOM2:"Open Publication License"
33 LICENSE_FILE= CUSTOM1:{{WRKDIR}}/VIM_LICENSE
34 CUSTOM2:{{WRKDIR}}/DOC_LICENSE
35 LICENSE_AWK= TERMS:"=== begin of license ==="
36 LICENSE_SOURCE= TERMS:{{WRKSRC}}/runtime/doc/uganda.txt
40 FPC_EQUIVALENT= editors/vim
41 SHEBANG_FILES= runtime/tools/demoserver.py
42 runtime/tools/efm_perl.pl
45 MAKE_ARGS= CC="{{CC}}"
46 CONF_ARGS="--prefix={{PREFIX}}"
48 VIMRUNTIMEDIR={{PREFIX}}/share/vim/vim81
49 VIMRCLOC={{PREFIX}}/etc/vim
50 CONF_OPT_MULTIBYTE=--enable-multibyte
51 CONF_OPT_CSCOPE=--enable-cscope
54 INSTALL_REQ_TOOLCHAIN= yes
55 PLIST_SUB= VIM_VER=vim81
57 [LOADED].DESCRIPTION= Turn on all options including X support
58 [LOADED].GNOME_COMPONENTS_ON= cairo
61 [LOADED].MAKE_ARGS_OFF= CONF_OPT_GUI="--enable-gui=no --without-x"
62 CONF_OPT_LUA=--disable-luainterp
63 CONF_OPT_PERL=--disable-perlinterp
64 CONF_OPT_PYTHON="--disable-pythoninterp --disable-python3interp"
65 CONF_OPT_RUBY=--disable-rubyinterp
66 CONF_OPT_TCL=--disable-tclinterp
67 CONF_OPT_NLS=--disable-nls
68 [LOADED].MAKE_ARGS_ON= CONF_OPT_NLS=--enable-nls
69 CONF_OPT_FEAT=--with-features=huge
70 CONF_OPT_INPUT=--enable-xim
71 CONF_OPT_OUTPUT=--enable-fontset
72 CONF_OPT_GUI=--enable-gui=gtk3
73 CONF_OPT_LUA=--enable-luainterp=dynamic
74 CONF_OPT_LUA_PREFIX=--with-lua-prefix={{LOCALBASE}}
75 CONF_OPT_PERL=--enable-perlinterp
76 CONF_OPT_RUBY=--enable-rubyinterp
77 CONF_OPT_TCL="--enable-tclinterp --with-tclsh=tclsh{{TCL_VER}}"
78 CONF_OPT_PYTHON="--enable-python3interp --disable-pythoninterp"
79 [LOADED].USES_ON= gettext-runtime
88 [LOADED].XORG_COMPONENTS_ON= ice
95 ${FIND} ${WRKSRC}/ -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} -e 's| $$<| $$>|'
96 ${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|g' ${WRKSRC}/src/auto/configure
97 ${ECHO_CMD} '#define SYS_VIMRC_FILE "'${ETCDIR}'/vimrc"' >> ${WRKSRC}/src/feature.h
98 ${ECHO_CMD} '#define SYS_GVIMRC_FILE "'${ETCDIR}'/gvimrc"' >> ${WRKSRC}/src/feature.h
99 ${FIND} ${WRKSRC}/runtime/ -name 'menu*.vim' -print0 | \
100 ${XARGS} -0 ${REINPLACE_CMD} -e 's|ctags -R \.|exctags -R .|g'
102 post-install-LOADED-ON:
103 .for F in eview gview gvim gvimdiff rgview rgvim rview rvim vimdiff
104 ${LN} -sf vim ${STAGEDIR}${PREFIX}/bin/$F
107 post-patch-LOADED-OFF:
108 ${REINPLACE_CMD} -i'' -e 1d ${WRKSRC}/runtime/tools/demoserver.py
111 ${RM} ${STAGEDIR}${PREFIX}/bin/ex
112 ${RM} ${STAGEDIR}${PREFIX}/bin/view
113 ${LN} -sf vim ${STAGEDIR}${PREFIX}/bin/evim
116 ${CP} ${WRKSRC}/src/config.mk.dist ${WRKSRC}/src/auto/config.mk
117 ${DO_MAKE_BUILD} -C ${WRKSRC}/src distclean
118 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
119 -e 's|\$$gtk_config_prefix/bin/gtk-config|\$${GTK_CONFIG}|g' \
120 -e 's|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|g' \
121 -e 's|set dummy lua;|set dummy ${LUA_CMD};|g' ${WRKSRC}/src/auto/configure
124 ${DO_MAKE_BUILD} -C ${WRKSRC}/src scratch config
125 ${REINPLACE_CMD} -e 's|#define HAVE_SYSINFO 1|/* #undef HAVE_SYSINFO */|' \
126 ${WRKSRC}/src/auto/config.h
129 ${AWK} '/\*manual-copyright\*/,/\|iccf\|/' \
130 ${WRKSRC}/runtime/doc/usr_01.txt > ${WRKDIR}/DOC_LICENSE
131 ${AWK} '/=== begin of license ===/,/=== end of license ===/' \
132 ${WRKSRC}/runtime/doc/uganda.txt > ${WRKDIR}/VIM_LICENSE
134 [FILE:757:descriptions/desc.single.standard]
135 Vim is a highly configurable text editor built to enable efficient text
136 editing. It is an improved version of the vi editor distributed with most
139 Vim is often called a "programmer's editor," and so useful for programming
140 that many consider it an entire IDE. It's not just for programmers, though.
141 Vim is perfect for all kinds of text editing, from composing email to
142 editing configuration files.
144 Despite what the above comic suggests, Vim can be configured to work in a
145 very simple (Notepad-like) way, called evim or Easy Vim.
147 This variant is contains a "lite" version of vim that has a minimal
148 amount of dependencies and therefore less capability. This version is
149 console-only. If X support is desired, use the "loaded" variant instead.
152 [FILE:768:descriptions/desc.single.loaded]
153 Vim is a highly configurable text editor built to enable efficient text
154 editing. It is an improved version of the vi editor distributed with most
157 Vim is often called a "programmer's editor," and so useful for programming
158 that many consider it an entire IDE. It's not just for programmers, though.
159 Vim is perfect for all kinds of text editing, from composing email to
160 editing configuration files.
162 Despite what the above comic suggests, Vim can be configured to work in a
163 very simple (Notepad-like) way, called evim or Easy Vim.
165 This variant is "loaded", meaning all options are active and that it
166 has X support through gtk3. This implies heavy dependencies, so if a
167 minimal console version of vim is desired, check out the "standard"
172 31d302ec4b0ee26b1673bc4be0f55fdaa35e7a6471d5f7812adcb35d4fc11828 13722499 vim-vim-8.1.0116.tar.gz
175 [FILE:18230:manifests/plist.single.standard]
187 share/icons/hicolor/48x48/apps/gvim.png
188 share/icons/locolor/16x16/apps/gvim.png
189 share/icons/locolor/32x32/apps/gvim.png
198 share/vim/%%VIM_VER%%/
217 share/vim/%%VIM_VER%%/autoload/
231 javascriptcomplete.vim
233 netrwFileHandlers.vim
252 share/vim/%%VIM_VER%%/autoload/dist/ft.vim
253 share/vim/%%VIM_VER%%/autoload/xml/
267 share/vim/%%VIM_VER%%/colors/
287 share/vim/%%VIM_VER%%/colors/tools/check_colors.vim
288 share/vim/%%VIM_VER%%/compiler/
354 share/vim/%%VIM_VER%%/doc/
492 share/vim/%%VIM_VER%%/ftplugin/
707 share/vim/%%VIM_VER%%/indent/
831 share/vim/%%VIM_VER%%/macros/
841 share/vim/%%VIM_VER%%/macros/hanoi/
845 share/vim/%%VIM_VER%%/macros/life/
848 share/vim/%%VIM_VER%%/macros/maze/
859 share/vim/%%VIM_VER%%/macros/urm/
864 share/vim/%%VIM_VER%%/pack/dist/opt/dvorak/dvorak/
867 share/vim/%%VIM_VER%%/pack/dist/opt/dvorak/plugin/dvorak.vim
868 share/vim/%%VIM_VER%%/pack/dist/opt/editexisting/plugin/editexisting.vim
869 share/vim/%%VIM_VER%%/pack/dist/opt/justify/plugin/justify.vim
870 share/vim/%%VIM_VER%%/pack/dist/opt/matchit/doc/
873 share/vim/%%VIM_VER%%/pack/dist/opt/matchit/plugin/matchit.vim
874 share/vim/%%VIM_VER%%/pack/dist/opt/shellmenu/plugin/shellmenu.vim
875 share/vim/%%VIM_VER%%/pack/dist/opt/swapmouse/plugin/swapmouse.vim
876 share/vim/%%VIM_VER%%/pack/dist/opt/termdebug/plugin/termdebug.vim
877 share/vim/%%VIM_VER%%/plugin/
891 share/vim/%%VIM_VER%%/print/
925 share/vim/%%VIM_VER%%/spell/
938 share/vim/%%VIM_VER%%/syntax/
1487 upstreaminstalllog.vim
1538 share/vim/%%VIM_VER%%/tools/
1561 share/vim/%%VIM_VER%%/tutor/
1633 [FILE:27122:manifests/plist.single.loaded]
1652 share/icons/hicolor/48x48/apps/gvim.png
1653 share/icons/locolor/16x16/apps/gvim.png
1654 share/icons/locolor/32x32/apps/gvim.png
1655 share/man/fr.ISO8859-1/man1/
1669 share/man/fr.UTF-8/man1/
1697 share/man/it.ISO8859-1/man1/
1711 share/man/it.UTF-8/man1/
1767 share/man/pl.ISO8859-2/man1/
1781 share/man/pl.UTF-8/man1/
1809 share/man/ru.KOI8-R/man1/
1823 share/man/ru.UTF-8/man1/
1837 share/vim/%%VIM_VER%%/
1856 share/vim/%%VIM_VER%%/autoload/
1870 javascriptcomplete.vim
1872 netrwFileHandlers.vim
1891 share/vim/%%VIM_VER%%/autoload/dist/ft.vim
1892 share/vim/%%VIM_VER%%/autoload/xml/
1906 share/vim/%%VIM_VER%%/colors/
1926 share/vim/%%VIM_VER%%/colors/tools/check_colors.vim
1927 share/vim/%%VIM_VER%%/compiler/
1993 share/vim/%%VIM_VER%%/doc/
2131 share/vim/%%VIM_VER%%/ftplugin/
2346 share/vim/%%VIM_VER%%/indent/
2470 share/vim/%%VIM_VER%%/keymap/
2475 armenian-eastern_utf-8.vim
2476 armenian-western_utf-8.vim
2477 belarusian-jcuken.vim
2479 bulgarian-phonetic.vim
2483 croatian_iso-8859-2.vim
2493 greek_iso-8859-7.vim
2497 hebrew_iso-8859-8.vim
2501 hebrewp_iso-8859-8.vim
2505 lithuanian-baltic.vim
2508 oldturkic-orkhon_utf-8.vim
2509 oldturkic-yenisei_utf-8.vim
2510 persian-iranian_utf-8.vim
2514 polish-slash_cp1250.vim
2515 polish-slash_cp852.vim
2516 polish-slash_iso-8859-2.vim
2517 polish-slash_utf-8.vim
2520 russian-jcukenmac.vim
2521 russian-jcukenwin.vim
2522 russian-jcukenwintype.vim
2525 serbian-latin_utf-8.vim
2529 serbian_iso-8859-2.vim
2530 serbian_iso-8859-5.vim
2532 sinhala-phonetic_utf-8.vim
2536 slovak_iso-8859-2.vim
2539 thaana-phonetic_utf-8.vim
2541 ukrainian-dvorak.vim
2542 ukrainian-jcuken.vim
2543 vietnamese-telex_utf-8.vim
2544 vietnamese-viqr_utf-8.vim
2545 vietnamese-vni_utf-8.vim
2546 share/vim/%%VIM_VER%%/lang/
2550 menu_af_af.latin1.vim
2551 menu_af_af.utf-8.vim
2554 menu_ca_es.latin1.vim
2555 menu_ca_es.utf-8.vim
2556 menu_chinese(gb)_gb.936.vim
2557 menu_chinese(taiwan)_taiwan.950.vim
2558 menu_chinese_gb.936.vim
2559 menu_chinese_taiwan.950.vim
2562 menu_cs_cz.cp1250.vim
2563 menu_cs_cz.iso_8859-2.vim
2564 menu_cs_cz.latin1.vim
2565 menu_cs_cz.utf-8.vim
2566 menu_czech_czech_republic.1250.vim
2567 menu_czech_czech_republic.1252.vim
2568 menu_czech_czech_republic.ascii.vim
2571 menu_de_de.latin1.vim
2572 menu_de_de.utf-8.vim
2573 menu_en_gb.latin1.vim
2574 menu_en_gb.utf-8.vim
2575 menu_english_united_kingdom.1252.vim
2576 menu_english_united_kingdom.ascii.vim
2578 menu_eo_eo.utf-8.vim
2579 menu_eo_xx.utf-8.vim
2582 menu_es_es.latin1.vim
2583 menu_es_es.utf-8.vim
2586 menu_fi_fi.latin1.vim
2587 menu_fi_fi.utf-8.vim
2588 menu_finnish_finland.1252.vim
2591 menu_fr_fr.latin1.vim
2592 menu_fr_fr.utf-8.vim
2593 menu_french_france.1252.vim
2594 menu_german_germany.1252.vim
2595 menu_hu.iso_8859-2.vim
2597 menu_hu_hu.iso_8859-2.vim
2598 menu_hu_hu.utf-8.vim
2601 menu_it_it.latin1.vim
2602 menu_it_it.utf-8.vim
2603 menu_italian_italy.1252.vim
2609 menu_ja_jp.cp932.vim
2610 menu_ja_jp.euc-jp.vim
2611 menu_ja_jp.eucjp.vim
2613 menu_ja_jp.utf-8.vim
2614 menu_japanese_japan.932.vim
2616 menu_ko_kr.euckr.vim
2617 menu_ko_kr.utf-8.vim
2621 menu_nl_nl.latin1.vim
2622 menu_nl_nl.utf-8.vim
2625 menu_no_no.latin1.vim
2626 menu_no_no.utf-8.vim
2628 menu_pl_pl.cp1250.vim
2629 menu_pl_pl.iso_8859-2.vim
2630 menu_pl_pl.utf-8.vim
2631 menu_polish_poland.1250.vim
2632 menu_pt_br.latin1.vim
2633 menu_pt_br.utf-8.vim
2635 menu_pt_pt.latin1.vim
2636 menu_pt_pt.utf-8.vim
2639 menu_ru_ru.koi8-r.vim
2640 menu_ru_ru.utf-8.vim
2644 menu_sk_sk.cp1250.vim
2645 menu_sk_sk.iso_8859-2.vim
2647 menu_sl_si.cp1250.vim
2648 menu_sl_si.latin2.vim
2649 menu_sl_si.utf-8.vim
2650 menu_slovak_slovak_republic.1250.vim
2651 menu_spanish_spain.850.vim
2653 menu_sr_rs.ascii.vim
2654 menu_sr_rs.iso_8859-2.vim
2655 menu_sr_rs.iso_8859-5.vim
2656 menu_sr_rs.utf-8.vim
2657 menu_sr_yu.ascii.vim
2658 menu_sr_yu.iso_8859-2.vim
2659 menu_sr_yu.iso_8859-5.vim
2660 menu_sr_yu.utf-8.vim
2663 menu_sv_se.latin1.vim
2664 menu_sv_se.utf-8.vim
2665 menu_uk_ua.cp1251.vim
2666 menu_uk_ua.koi8-u.vim
2672 menu_zh_cn.18030.vim
2673 menu_zh_cn.cp936.vim
2674 menu_zh_cn.gb2312.vim
2676 menu_zh_cn.utf-8.vim
2678 menu_zh_tw.cp950.vim
2679 menu_zh_tw.utf-8.vim
2680 share/vim/%%VIM_VER%%/lang/af/LC_MESSAGES/vim.mo
2681 share/vim/%%VIM_VER%%/lang/ca/LC_MESSAGES/vim.mo
2682 share/vim/%%VIM_VER%%/lang/cs.cp1250/LC_MESSAGES/vim.mo
2683 share/vim/%%VIM_VER%%/lang/cs/LC_MESSAGES/vim.mo
2684 share/vim/%%VIM_VER%%/lang/de/LC_MESSAGES/vim.mo
2685 share/vim/%%VIM_VER%%/lang/en_GB/LC_MESSAGES/vim.mo
2686 share/vim/%%VIM_VER%%/lang/eo/LC_MESSAGES/vim.mo
2687 share/vim/%%VIM_VER%%/lang/es/LC_MESSAGES/vim.mo
2688 share/vim/%%VIM_VER%%/lang/fi/LC_MESSAGES/vim.mo
2689 share/vim/%%VIM_VER%%/lang/fr/LC_MESSAGES/vim.mo
2690 share/vim/%%VIM_VER%%/lang/ga/LC_MESSAGES/vim.mo
2691 share/vim/%%VIM_VER%%/lang/it/LC_MESSAGES/vim.mo
2692 share/vim/%%VIM_VER%%/lang/ja.euc-jp/LC_MESSAGES/vim.mo
2693 share/vim/%%VIM_VER%%/lang/ja.sjis/LC_MESSAGES/vim.mo
2694 share/vim/%%VIM_VER%%/lang/ja/LC_MESSAGES/vim.mo
2695 share/vim/%%VIM_VER%%/lang/ko.UTF-8/LC_MESSAGES/vim.mo
2696 share/vim/%%VIM_VER%%/lang/ko/LC_MESSAGES/vim.mo
2697 share/vim/%%VIM_VER%%/lang/lv/LC_MESSAGES/vim.mo
2698 share/vim/%%VIM_VER%%/lang/nb/LC_MESSAGES/vim.mo
2699 share/vim/%%VIM_VER%%/lang/nl/LC_MESSAGES/vim.mo
2700 share/vim/%%VIM_VER%%/lang/no/LC_MESSAGES/vim.mo
2701 share/vim/%%VIM_VER%%/lang/pl.UTF-8/LC_MESSAGES/vim.mo
2702 share/vim/%%VIM_VER%%/lang/pl.cp1250/LC_MESSAGES/vim.mo
2703 share/vim/%%VIM_VER%%/lang/pl/LC_MESSAGES/vim.mo
2704 share/vim/%%VIM_VER%%/lang/pt_BR/LC_MESSAGES/vim.mo
2705 share/vim/%%VIM_VER%%/lang/ru.cp1251/LC_MESSAGES/vim.mo
2706 share/vim/%%VIM_VER%%/lang/ru/LC_MESSAGES/vim.mo
2707 share/vim/%%VIM_VER%%/lang/sk.cp1250/LC_MESSAGES/vim.mo
2708 share/vim/%%VIM_VER%%/lang/sk/LC_MESSAGES/vim.mo
2709 share/vim/%%VIM_VER%%/lang/sr/LC_MESSAGES/vim.mo
2710 share/vim/%%VIM_VER%%/lang/sv/LC_MESSAGES/vim.mo
2711 share/vim/%%VIM_VER%%/lang/uk.cp1251/LC_MESSAGES/vim.mo
2712 share/vim/%%VIM_VER%%/lang/uk/LC_MESSAGES/vim.mo
2713 share/vim/%%VIM_VER%%/lang/vi/LC_MESSAGES/vim.mo
2714 share/vim/%%VIM_VER%%/lang/zh_CN.UTF-8/LC_MESSAGES/vim.mo
2715 share/vim/%%VIM_VER%%/lang/zh_CN.cp936/LC_MESSAGES/vim.mo
2716 share/vim/%%VIM_VER%%/lang/zh_CN/LC_MESSAGES/vim.mo
2717 share/vim/%%VIM_VER%%/lang/zh_TW.UTF-8/LC_MESSAGES/vim.mo
2718 share/vim/%%VIM_VER%%/lang/zh_TW/LC_MESSAGES/vim.mo
2719 share/vim/%%VIM_VER%%/macros/
2729 share/vim/%%VIM_VER%%/macros/hanoi/
2733 share/vim/%%VIM_VER%%/macros/life/
2736 share/vim/%%VIM_VER%%/macros/maze/
2747 share/vim/%%VIM_VER%%/macros/urm/
2752 share/vim/%%VIM_VER%%/pack/dist/opt/dvorak/dvorak/
2755 share/vim/%%VIM_VER%%/pack/dist/opt/dvorak/plugin/dvorak.vim
2756 share/vim/%%VIM_VER%%/pack/dist/opt/editexisting/plugin/editexisting.vim
2757 share/vim/%%VIM_VER%%/pack/dist/opt/justify/plugin/justify.vim
2758 share/vim/%%VIM_VER%%/pack/dist/opt/matchit/doc/
2761 share/vim/%%VIM_VER%%/pack/dist/opt/matchit/plugin/matchit.vim
2762 share/vim/%%VIM_VER%%/pack/dist/opt/shellmenu/plugin/shellmenu.vim
2763 share/vim/%%VIM_VER%%/pack/dist/opt/swapmouse/plugin/swapmouse.vim
2764 share/vim/%%VIM_VER%%/pack/dist/opt/termdebug/plugin/termdebug.vim
2765 share/vim/%%VIM_VER%%/plugin/
2779 share/vim/%%VIM_VER%%/print/
2813 share/vim/%%VIM_VER%%/spell/
2826 share/vim/%%VIM_VER%%/syntax/
3375 upstreaminstalllog.vim
3426 share/vim/%%VIM_VER%%/tools/
3449 share/vim/%%VIM_VER%%/tutor/
3521 [FILE:1669:patches/patch-src-installml.sh]
3522 --- src/installml.sh.orig 2017-09-20 20:43:02 UTC
3523 +++ src/installml.sh
3524 @@ -53,16 +53,16 @@ if test $what = "install" -a \( -f $dest
3528 - if test ! -f $destdir/$exname.1 -a -f $destdir/$vimname.1; then
3529 - echo creating link $destdir/$exname.1
3530 - cd $destdir; ln -s $vimname.1 $exname.1
3532 + #if test ! -f $destdir/$exname.1 -a -f $destdir/$vimname.1; then
3533 + # echo creating link $destdir/$exname.1
3534 + # cd $destdir; ln -s $vimname.1 $exname.1
3538 - if test ! -f $destdir/$viewname.1 -a -f $destdir/$vimname.1; then
3539 - echo creating link $destdir/$viewname.1
3540 - cd $destdir; ln -s $vimname.1 $viewname.1
3542 + #if test ! -f $destdir/$viewname.1 -a -f $destdir/$vimname.1; then
3543 + # echo creating link $destdir/$viewname.1
3544 + # cd $destdir; ln -s $vimname.1 $viewname.1
3548 if test ! -f $destdir/$rvimname.1 -a -f $destdir/$vimname.1; then
3549 @@ -119,14 +119,14 @@ fi
3550 if test $what = "uninstall"; then
3551 echo Checking for Vim manual page links in $destdir...
3553 - if test -L $destdir/$exname.1; then
3554 - echo deleting $destdir/$exname.1
3555 - rm -f $destdir/$exname.1
3557 - if test -L $destdir/$viewname.1; then
3558 - echo deleting $destdir/$viewname.1
3559 - rm -f $destdir/$viewname.1
3561 + #if test -L $destdir/$exname.1; then
3562 + # echo deleting $destdir/$exname.1
3563 + # rm -f $destdir/$exname.1
3565 + #if test -L $destdir/$viewname.1; then
3566 + # echo deleting $destdir/$viewname.1
3567 + # rm -f $destdir/$viewname.1
3569 if test -L $destdir/$rvimname.1; then
3570 echo deleting $destdir/$rvimname.1
3571 rm -f $destdir/$rvimname.1
3574 [FILE:2833:patches/patch-src_auto_configure]
3575 --- src/auto/configure.orig 2018-04-16 13:40:50 UTC
3576 +++ src/auto/configure
3577 @@ -5095,7 +5095,7 @@ $as_echo_n "checking Lua version of LuaJ
3578 if ${vi_cv_version_lua_luajit+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 - vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'`
3582 + vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //' | tr d '.'`
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_lua_luajit" >&5
3585 $as_echo "$vi_cv_version_lua_luajit" >&6; }
3586 @@ -5149,7 +5149,7 @@ $as_echo_n "checking Lua version... " >&
3587 if ${vi_cv_version_plain_lua+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 - vi_cv_version_plain_lua=`${vi_cv_path_plain_lua} -e "print(_VERSION)" | sed 's/.* //'`
3591 + vi_cv_version_plain_lua=`${vi_cv_path_plain_lua} -e "print(_VERSION)" | sed 's/.* //' | tr -d '.'`
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_plain_lua" >&5
3594 $as_echo "$vi_cv_version_plain_lua" >&6; }
3595 @@ -5240,7 +5240,7 @@ rm -f core conftest.err conftest.$ac_obj
3598 if test "x$lua_ok" = "xyes"; then
3599 - LUA_CFLAGS="-I${vi_cv_path_lua_pfx}/include${LUA_INC}"
3600 + LUA_CFLAGS="-I${LUA_INCDIR}"
3602 LUA_OBJ="objects/if_lua.o"
3603 LUA_PRO="if_lua.pro"
3604 @@ -5297,7 +5297,8 @@ $as_echo "yes" >&6; }
3605 $as_echo "#define DYNAMIC_LUA 1" >>confdefs.h
3608 - LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"${vi_cv_dll_name_lua}\\\" $LUA_CFLAGS"
3609 + vi_cv_version_lua=${LUA_VER}
3610 + LUA_CFLAGS="-DDYNAMIC_LUA_DLL=\\\"liblua-${vi_cv_version_lua}.so\\\" $LUA_CFLAGS"
3612 if test "X$LUA_CFLAGS$LUA_LIBS" != "X" && \
3613 test "x$MACOS_X" = "xyes" && test "x$vi_cv_with_luajit" != "xno" && \
3614 @@ -5956,7 +5957,7 @@ fi
3617 if test "X$vi_cv_path_python" = "X"; then
3618 - for ac_prog in python2 python
3619 + for ac_prog in python2.7
3621 # Extract the first word of "$ac_prog", so it can be a program name with args.
3622 set dummy $ac_prog; ac_word=$2
3623 @@ -6306,7 +6307,7 @@ fi
3626 if test "X$vi_cv_path_python3" = "X"; then
3627 - for ac_prog in python3 python
3628 + for ac_prog in python3.6 python3.5
3630 # Extract the first word of "$ac_prog", so it can be a program name with args.
3631 set dummy $ac_prog; ac_word=$2
3632 @@ -7133,6 +7134,7 @@ $as_echo "$try/tclConfig.sh" >&6; }
3633 TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
3635 TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^[^-]/d' -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
3636 + TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`