I installed the Vim editor using Ports and in the process didn't enable GTK2 or GNOME option. I assume that either these 2 options will let me use gvim. Here's my pkg info vim:

Name           : vim
Version        : 7.4.430_1
Installed on   : Sun Sep  7 13:30:57 PHT 2014
Origin         : editors/vim
Architecture   : freebsd:10:x86:32
Prefix         : /usr/local
Categories     : editors
Maintainer     : sunpoet@FreeBSD.org
WWW            : http://www.vim.org/
Comment        : Improved version of the vi editor
Options        :
        ATHENA         : off
        CONSOLE        : on
        CSCOPE         : on
        GNOME          : off
        GTK2           : off
        LUA            : on
        MOTIF          : off
        NLS            : on
        PERL           : on
        PYTHON         : on

Now, I want to enable either the GNOME or GTK2 option.

I've tried make deinstall followed by make reinstall but I don't get the dialogs for choosing the options to enable just like I did when I installed Vim the first time. I've also tried make deinstall then make install but still no go.

  • 1
    And by running make config before make install? (in /usr/ports/editors/vim) – julp Sep 7 '14 at 9:42
  • @julp Thanks for helping me again. that's what I missed. Make this an answer so I can choose it as such. – baktin Sep 7 '14 at 10:10

FreeBSD is smart enough to not bother you about port options: if they haven't changed at port level (Makefile), it won't ask you twice for them.

I do not use binary packages but I guess, in your case, that options from your previous installed binary package were kept so the make config step was skipped.

Anyway, to force FreeBSD to display the dialog screen to choose your build options, run make config before make install.

In the same way: to restore default options, it exists make rmconfig.

| improve this answer | |
  • Thanks. I think it would be helpful to add this to the official Handbook...just in case noobs like myself need this info. – baktin Sep 8 '14 at 10:43
  • At least, all port "commands" (make targets) are described in man 7 ports ;) – julp Sep 8 '14 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.