1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/security/tpm2-tools/Makefile
John Hein a4f11eab46 security/tpm2-tools: fix build if security/openssl is installed
If someone has DEFAULT_VERSIONS=ssl:openssl it will now check the lib in
/usr/local during configure.  Similarly if using
DEFAULT_VERSIONS=ssl:base, it looks in /usr/lib during configure.

PR:		274013
Approved by:	tstruk@gmail.com (maintainer)
MFH:		2023Q4
2023-10-04 15:59:55 -04:00

24 lines
628 B
Makefile

PORTNAME= tpm2-tools
DISTVERSION= 5.5
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/tpm2-software/tpm2-tools/releases/download/${DISTVERSION}/
MAINTAINER= tstruk@gmail.com
COMMENT= TPM2 tools
WWW= https://github.com/tpm2-software/tpm2-tools
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libtss2-esys.so:security/tpm2-tss \
libcurl.so:ftp/curl \
libuuid.so:misc/e2fsprogs-libuuid
USES= compiler:c11 gmake libtool pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
CONFIGURE_ARGS= --disable-hardening --disable-fapi
.include <bsd.port.mk>