out of curiousity, does this address [any of] the issues involving locales under the perl testsuite?
Locale fixes from DragonflyBSD
Review Request #198 — Created June 1, 2016 and updated
https://www.illumos.org/issues/6904 https://www.illumos.org/issues/6905 https://www.illumos.org/issues/6906
Guess this can be closed, I've taken care of #6904 and #6905, #6906 is still open, but I've fix ready.