Commit 285f7b02 authored by Franco Fichtner's avatar Franco Fichtner

make: better auto-detect and typo fixed

parent 9bb9ce5e
...@@ -47,15 +47,14 @@ CORE_HASH= ${CORE_COMMIT:C/^.*-//1} ...@@ -47,15 +47,14 @@ CORE_HASH= ${CORE_COMMIT:C/^.*-//1}
CORE_ABI?= 16.7 CORE_ABI?= 16.7
_FLAVOUR!= /usr/local/bin/openssl version
FLAVOUR?= ${_FLAVOUR:[1]}
.if "${FLAVOUR}" == OpenSSL .if "${FLAVOUR}" == OpenSSL
CORE_REPOSITORY?= ${CORE_ABI}/latest CORE_REPOSITORY?= ${CORE_ABI}/latest
.elif "${FLAVOUR}" == LibreSSL .elif "${FLAVOUR}" == LibreSSL
CORE_REPOSITORY?= ${CORE_ABI}/libressl CORE_REPOSITORY?= ${CORE_ABI}/libressl
.else .else
. if "${FLAVOUR}" == ""
_FLAVOUR!= /usr/local/bin/openssl version
FLAVOUR= ${_FLAVOUR:[0]}
. endif
CORE_REPOSITORY?= ${FLAVOUR} CORE_REPOSITORY?= ${FLAVOUR}
.endif .endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment