diff options
Diffstat (limited to 'ftp/vsftpd/PRE_BUILD')
-rwxr-xr-x | ftp/vsftpd/PRE_BUILD | 6 |
1 files changed, 3 insertions, 3 deletions
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 |