added a comment - - edited
This is not yet merged into opscode/master.
In testing, I found that the php5 package from ports (and pkg_add -r php5) does not have the apache module built by default.
Right. Not sure how it passed my testing, sorry about that.
As far as I recall, the freebsd package provider uses ports and not pkg_add -r, so we may be able to drop off the /var/db/ports/php5/options file, yes?
It defaults to packages (pkg_add -r), but there it an option to build from the port (source=ports).
Using /var/db/ports/php5/options would work, but I'd rather not do that as a one-off hack: I would rather write an LWRP (in a new "freebsd" cookbook) to manage ports options. I will look into it, it's long overdue