From 712056ec9727a6658e2671d24feee642dc4a9e3e Mon Sep 17 00:00:00 2001 From: Vlad Glagolev Date: Sun, 7 Feb 2021 04:51:06 +0000 Subject: vsftpd: correct dependency handling --- ftp/vsftpd/PRE_BUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ftp/vsftpd/PRE_BUILD') diff --git a/ftp/vsftpd/PRE_BUILD b/ftp/vsftpd/PRE_BUILD index 8dbe1a04ae..8cd9204cd0 100755 --- a/ftp/vsftpd/PRE_BUILD +++ b/ftp/vsftpd/PRE_BUILD @@ -22,17 +22,17 @@ sedit ' # the package is installed, but this is the easy way # I'm doing it for now. :) # -if spell_ok tcp_wrappers; then +if is_depends_enabled ${SPELL} tcp_wrappers; then sedit "/^#undef VSF_BUILD_TCPWRAPPERS/{s/undef/define/}" builddefs.h fi && -if spell_ok openssl; then +if is_depends_enabled ${SPELL} $(get_spell_provider ${SPELL} SSL); then sedit "/^#undef VSF_BUILD_SSL/{s/undef/define/}" builddefs.h fi && # # builddefs.h defaults to using Linux-PAM # -if ! spell_ok linux-pam; then +if ! is_depends_enabled ${SPELL} linux-pam; then sedit "/^#define VSF_BUILD_PAM/{s/define/undef/}" builddefs.h fi -- cgit v1.2.3