On Sat, 24 Aug 2019 at 08:25, Hongyi Zhao <hongyi.z...@gmail.com> wrote:
> > Based on the instructions given here: > > https://github.com/vim/vim/blob/master/src/INSTALL > > It said that: > > ----------- > The advantage of running configure separately, is that you can write a script > to build Vim, without changing the Makefile or feature.h. Example (using sh): > > CFLAGS=-DCOMPILER_FLAG ./configure --enable-gui=motif > > One thing to watch out for: If the configure script itself changes, running > "make" will execute it again, but without your arguments. Do "make clean" and > run configure again. > ----------- > > So, it should be enough to do the following for using specific > configure arguments: > > make clean > /configure ... > make > > Am I right? > [DISCLAIMER: I'm writing this out of selfishness, as I'd really like to see more people testing vim-* on pkgsrc. Apologies for the detour] This won't answer your question directly, but you can always try and build vim on your system using pkgsrc [1] [2] . Vim on pkgsrc is built around separate packages, the master being vim-share [3] and in your case you want vim-gtk2 [4]. Then you can modify the Makefile [5] adding your flags or just insert them from the command line: $ cd [path-to-pkgsrc]/editors/vim-gtk2 && bmake <insert your flags here> install I can't guarantee this will be an easy ride, though. I had to disable fortify to make my package work on Linux. [1] https://www.pkgsrc.org/ [2] https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/pkgsrc.html [3] http://pkgsrc.se/editors/vim-share [4] http://pkgsrc.se/editors/vim-gtk2 [5} http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/editors/vim-gtk2/Makefile?rev=1.84&content-type=text/x-cvsweb-markup -- Ottavio Caruso -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAEJNuHyNpoBv%3Dg%3DabA4nexUhrnk0_zi3Cq82_dk4i6RnKdaupA%40mail.gmail.com.