Der Problem seems was complete another one. After this I saw default version of ruby is 2.4. Ruby-bdb fails to install. So I guess it was mix of ruby 2.3 and 2.4 ports. After upgrade to 2.4, no such problems anymore. After upgrade there was no such problem anymore. (But no entry in /usr/port/UPDATING).