usage of openssl command in ports

Mathieu Arnold mat at FreeBSD.org
Wed Oct 5 06:37:38 UTC 2016


Le 05/10/2016 à 04:04, Koichiro IWAO a écrit :
> 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

It should be:

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


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161005/d09ec363/attachment.sig>


More information about the freebsd-ports mailing list