From bdc37c6a33c9a7c073f6d99900a90b24fbbcf9e0 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 22 Jan 2020 22:00:46 +0100 Subject: [PATCH] package/libpam-tacplus: add openssl optional dependency openssl is an optional dependency since version 1.4.1 and https://github.com/kravietz/pam_tacplus/commit/789cf4a85266dcb426ed133b2d07df86d0a55972 Signed-off-by: Fabrice Fontaine Tested-by: Carlos Santos Signed-off-by: Peter Korsgaard --- package/libpam-tacplus/libpam-tacplus.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libpam-tacplus/libpam-tacplus.mk b/package/libpam-tacplus/libpam-tacplus.mk index f69d275cb6..fd2b4f9a30 100644 --- a/package/libpam-tacplus/libpam-tacplus.mk +++ b/package/libpam-tacplus/libpam-tacplus.mk @@ -8,7 +8,9 @@ LIBPAM_TACPLUS_VERSION = 1.5.1 LIBPAM_TACPLUS_SITE = $(call github,jeroennijhof,pam_tacplus,v$(LIBPAM_TACPLUS_VERSION)) LIBPAM_TACPLUS_LICENSE = GPL-2.0+ LIBPAM_TACPLUS_LICENSE_FILES = COPYING -LIBPAM_TACPLUS_DEPENDENCIES = linux-pam +LIBPAM_TACPLUS_DEPENDENCIES = \ + linux-pam \ + $(if $(BR2_PACKAGE_OPENSSL),openssl) # Fetching from github, we need to generate the configure script LIBPAM_TACPLUS_AUTORECONF = YES LIBPAM_TACPLUS_INSTALL_STAGING = YES -- 2.30.2