usage of openssl command in ports

Koichiro IWAO meta+ports at vmeta.jp
Wed Oct 5 02:04:24 UTC 2016


Hi,

I have a question about usage of openssl command in ports.

If a port uses openssl command for example in pkg-install, how can I 
determine which openssl to use?
I think if ssl=base, /usr/bin/openssl should be used.  If ssl=openssl, 
${PREFIX}/bin/openssl should be used.
And other ssl ports.

Is there something like ${OPENSSL_CMD} or do I have to do manually like 
this?

.if ${SSL_DEFAULT} == base
OPENSSL_CMD= /usr/bin/openssl
.endif

.if ${SSL_DEFAULT} == openssl
OPENSSL_CMD= ${PREFIX}/bin/openssl
.endif

.if ${SSL_DEFAULT} == libressl
OPENSSL_CMD= "i don't know"
.endif

-- 
`whois vmeta.jp | nkf -w`
meta <meta at vmeta.jp>


More information about the freebsd-ports mailing list