[an error occurred while processing this directive]

An X app I am building depends on XFree86 3.3.x, but I have XFree86 4.x installed. What should I do?

To tell the port build to link to the XFree86 4.x libraries, add the following to /etc/make.conf, (if you do not have this file, create it):

    XFREE86_VERSION=        4
[an error occurred while processing this directive]