View Full Version : Port Options: How to Change
ter2007
December 7th, 2008, 21:09
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.
aragon
December 7th, 2008, 22:01
You can't. That's why they're called build options. :)
Uninstall, rebuild, reinstall...
thompsa@
December 7th, 2008, 23:04
You can use 'make config' to edit the selected items once its already been saved.
p3n1x
December 8th, 2008, 03:18
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
bsddaemon
December 8th, 2008, 03:49
You can use 'make config' to edit the selected items once its already been saved.
And you suggest him to rebuild those ports?
Djn
December 8th, 2008, 19:43
And you suggest him to rebuild those ports?
Obviously.
SirDice
December 8th, 2008, 21:09
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:
.if ${.CURDIR:M*/editors/vim}
WITH_GTK2=yes
.endif
But, obviously, ports need to be build with the options to have them :e
hedwards
December 14th, 2008, 16:38
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:
.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?
kamikaze
December 14th, 2008, 17:37
There's no connection to portmaster or portupgrade. They just invoke make, so a solution in make.conf is one that always applies.
r-c-e
December 14th, 2008, 21:24
you can also simply define on the build line:
# make install WITHOUT_X11=yes
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.