build/install_mac.mk uses cp -r
. Per the cp(1) manpage on macOS:
Historic versions of the cp utility had a -r option. This implementation
supports that option, however, its behavior is different from historical
FreeBSD behavior. Use of this option is strongly discouraged as the
behavior is implementation-dependent. In FreeBSD, -r is a synonym for
-RL and works the same unless modified by other flags. Historical
implementations of -r differ as they copy special files as normal files
while recreating a hierarchy.
So please use cp -R
instead of cp -r
.
I assume you were referring to the install_mac.mk makefile. I've updated that. Thanks!
Oh, just realized you mentioned the file itself. Somehow I missed it before. Anyway, fixed. :)