db_fix_so() from db.eclass makes 2 calls to the find command (line 21 and 43) without specifying a path as the 1st argument. This works fine with GNU find but BSD find will not tolerate it, and dies with: find: illegal option -- t find: illegal option -- y find: illegal option -- p find: illegal option -- e find: f: No such file or directory Adding a '.' before -type solves the problem and works for both GNU and BSD find.
Feel free to add it. I'm going to sleep now, so just add it yourself. Thanks
Fixed. Thanks Paul.