As I said earlier, BIND by default installs into /usr/local on most platforms. It installs there so that it's kept out of the way of the vendor versions of BIND you might have installed. Mixing the two can cause many problems. Unlike GNU software, no easy command-line switch exists to override the installation destination. You must override several makefile variables instead. These are defined in your architecture's port makefile, and a good place to override them is in the Makefile.set file. The following lists the variables:
The default values listed previously are correct for most OSes, The notable exceptions are the free BSDs and Linux, where it's all installed under / and /usr because no vendor BIND exists with which to clash. The ISC BIND is the vendor version. However, the resolver library and header files are still installed under /usr/local because they can still clash with the OS library and header files. Replacing OS libraries and header files can cause no end of grief, so be careful when overriding those install destinations. |