I would like to commit the following patch to fix a bug in Makeconf.in for the math/R package.
Makeconf (made from Makeconf.in) is a Makefile fragment that R uses to build packages or other software from within R. Currently, it passes rpath directories to the linker using -Wl,-R. This fails on Darwin and should be replaced by -Wl,-rpath. While at it, the patch also uses the same argument to -rpath as used to -L.
This should not affect building R itself or R packages within pkgsrc.
Please confirm that this is OK during the freeze.