Add options to an installed package in FreeBSD

Written by
Date: 2015-02-01 22:25:20 00:00

How to recompile software in FreeBSD with new options

There are times when you need to compile again a software, but you want to add a new module o compile it with a new option.

Here are the steps to do it.

Go to the port folder.

cd /usr/ports/port/folder

De-install the old software

make deinstall

Clean the old data in case it is not cleaned yet

make clean

Invoke the config menu

make config

Compile with the new options

make

Install the newly compiled software

make install