Hello Aditya,
* Aditya Kousik <adit267.kousik@...9...> [2015-05-05 11:45:29 -0700]:
To use libcrypto++, I found online that openssl will suffice. But while there is a port file for both libraries, there's no openssl.mk in lib/mk. Grepping the mk files I saw a line in libcrypto.inc which calls select_from_ports,openssl. So, is it the case that we prepare_port for openssl but add LIBS += libcrypto in our target.mk files?
Yes, libcrypto as well as libssl are part of OpenSSL, so you have to prepare it when you want to use one of these libraries.
Regards Josef