As seen in https://github.com/bitcoin/bitcoin/pull/16837, the `sed` calls in `depends` fail silently, and can result in silent, unwanted regressions when packages are updated. It seems that a possible solution might be something like the following: https://askubuntu.com/a/1036918