<div dir="ltr">Hi,<div><br></div><div>I just ran into a problem when compiling an addon on Mac OS X:</div><div><br></div><div>







<p class=""><span class="">Compiling...</span></p>
<p class=""><span class="">Installing...</span></p>
<p class=""><span class="">cp: the -H, -L, and -P options may not be specified with the -r option.</span></p>
<p class=""><span class="">make: *** [install] Error 1</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">It seems cp -r (lowercase r) is not portable, see [1]. Mac cp man page says:</span></p><p class=""><span class=""></span></p>Historic versions of the cp utility had a -r option. This implementation supports that option; how-ever, however, ever, its use is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.</div><div><br></div><div>lowercase r is used on couple of places, mainly include/Make/Install.make. So my question is if anyone thinks there are some valid reasons for using lowercase r.</div><div><br></div><div>Thanks,</div><div><br></div><div>Anna<br><p class=""><span class=""><br></span></p><p class=""><span class="">[1] <a href="http://unix.stackexchange.com/questions/18712/difference-between-cp-r-and-cp-r-copy-command">http://unix.stackexchange.com/questions/18712/difference-between-cp-r-and-cp-r-copy-command</a></span></p><p class=""><br></p></div></div>