Port Options: How to Change

When you have batch=yes in make.conf, the port will install automatically with default options.

How can you change those options after the port is installed???

Thanks in advance.
 
if you want to change the config youd just issue a make deinstall then make config, change it, then make reinstall clean

should take care of it...make sure to backup any config files before the deinstall..just in case
 
You can add the options you want to /etc/make.conf. That's how I've done it for years.

Options like WITH_GTK2 for vim. You can even make them dependent on the port.

like so:
Code:
.if ${.CURDIR:M*/editors/vim}
  WITH_GTK2=yes
.endif

But, obviously, ports need to be build with the options to have them :e
 
SirDice said:
You can add the options you want to /etc/make.conf. That's how I've done it for years.

Options like WITH_GTK2 for vim. You can even make them dependent on the port.

like so:
Code:
.if ${.CURDIR:M*/editors/vim}
  WITH_GTK2=yes
.endif

But, obviously, ports need to be build with the options to have them :e
I've wondered about that for some time. But don't Portupgrade and Portmaster ignore those, or am I misinformed?
 
There's no connection to portmaster or portupgrade. They just invoke make, so a solution in make.conf is one that always applies.
 
Back
Top