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 <[email protected]>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to