I worked with Rodger to address this, and it's been resolved in his patch 'compat/cuda/ptx2c: fix BSD sed compatibility' It's sitting in the devel list, but hopefully it'll be committed soon to fix this.