mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
mbedtls: add compat to PROVIDES.
This commit is contained in:
@@ -5,7 +5,7 @@ products, facilitating this functionality with a minimal coding footprint."
|
||||
HOMEPAGE="https://tls.mbed.org/"
|
||||
COPYRIGHT="2006-2018 ARM Limited"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/ARMmbed/mbedtls/archive/mbedtls-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e62fdea0110d3aa9082b3e1ccdbbaf520161830b1f3a57ae3124a7d5963c2a37"
|
||||
SOURCE_DIR="mbedtls-mbedtls-$portVersion"
|
||||
@@ -20,9 +20,9 @@ libx509Version="0"
|
||||
|
||||
PROVIDES="
|
||||
mbedtls$secondaryArchSuffix = $portVersion
|
||||
lib:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion
|
||||
lib:libmbedtls$secondaryArchSuffix = $libtlsVersion
|
||||
lib:libmbedx509$secondaryArchSuffix = $libx509Version
|
||||
lib:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion compat >= $libcryptoVersion
|
||||
lib:libmbedtls$secondaryArchSuffix = $libtlsVersion compat >= $libtlsVersion
|
||||
lib:libmbedx509$secondaryArchSuffix = $libx509Version compat >= $libx509Version
|
||||
"
|
||||
if [ -z "$secondaryArchSuffix" ]; then
|
||||
PROVIDES="$PROVIDES
|
||||
@@ -83,9 +83,9 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
mbedtls${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion
|
||||
devel:libmbedtls$secondaryArchSuffix = $libtlsVersion
|
||||
devel:libmbedx509$secondaryArchSuffix = $libx509Version
|
||||
devel:libmbedcrypto$secondaryArchSuffix = $libcryptoVersion compat >= $libcryptoVersion
|
||||
devel:libmbedtls$secondaryArchSuffix = $libtlsVersion compat >= $libtlsVersion
|
||||
devel:libmbedx509$secondaryArchSuffix = $libx509Version compat >= $libx509Version
|
||||
"
|
||||
REQUIRES_devel="
|
||||
mbedtls$secondaryArchSuffix == $portVersion base
|
||||
|
||||
Reference in New Issue
Block a user