use -Wl,-rpath=/path/ instead of -R/path/. This occurs when USE_OPENSSL_PORT=yes is defined in /etc/make.conf, exposed by the changes in r403176.