### Description The Makefile runs `find ... -not ...` to derive GO_SOURCES: ``` GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" -not -path modules/options/bindata.go -not -path modules/public/bindata.go -not -path modules/templates/bindata.go) ``` On some platforms such as NetBSD, the `-not` option is not supported. The portable and standard POSIX way to do this is with with `!`: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html ### Gitea Version ef92459e183f3f3437d4e458dc75a350e4f34871 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? make ### Database None