Created attachment 205710 [details]
[patch] fix g014 shebangs for bash scripts
'make -C /usr/ports/lang/go14 stage-qa' gives this error:
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'go14/misc/makerelease/darwin/scripts/postinstall'
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'go14/misc/makerelease/darwin/scripts/preinstall'
The attached patch fixes it. One could also develop a patch to skip installing the files as I believe they probably aren't needed for the freebsd port. But this patch seemed easy and the files involved are tiny, so removing them from the package doesn't save (much) space.
Created attachment 205820 [details]
An extended version of the patch that
- Fixes QA errors
- Trims stuff not needed for building/testing or lang/go bootstrapping
- Fixes test target
Passes poudriere testport on 120a, 120i, 112a