1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

security/tpm2-tss: Fix build with base OpenSSL

PR:		262569
This commit is contained in:
Jung-uk Kim 2022-03-18 11:26:09 -04:00
parent efd6910090
commit aca6f9b18e

View File

@ -1,5 +1,6 @@
PORTNAME= tpm2-tss
DISTVERSION= 3.2.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/tpm2-software/tpm2-tss/releases/download/${DISTVERSION}/
@ -9,14 +10,13 @@ COMMENT= TPM2 Software Stack core library
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libjson-c.so:devel/json-c \
libcurl.so:ftp/curl \
libssl.so.11:security/openssl
libcurl.so:ftp/curl
USES= compiler:c11 gmake libtool pkgconfig ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \
EXTRA_CFLAGS="-I${LOCALBASE}/include"
KEYDIR= /var/lib/tpm2-tss/system/keystore