> I've been building packages for my servers with "-x11" global option > for many years with no problem at all. Same here. I don't have X on any of my NetBSD machines (neither base nor pkgsrc) and python builds fine (with X11 disabled. So the probleb you are trying to fix is either too new for me for having noticed it or home-grown.