Automatically replacing a dependent port

I have www/lighttpd installed as on a machine, but no apache.
Quite often when I attempt to upgrade or install new software www/apache22 is installed. lang/php5 being one such port that installs apache.

I seem to remember reading that it is possible to tell the ports system that all dependencies for a certain port shall be rewritten to another one. I can not however remember where this should be done.

I can ofcourse manually deinstall www/apache22 and then run # pkgdb -F, but it seems unnecessary.
 
Back
Top