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
signature.asc
Description: OpenPGP digital signature