summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2007-12-22 23:07:37 +0000
committerminskim <minskim>2007-12-22 23:07:37 +0000
commita9756d71cf7e59b2700bde6725fa1dc91a6929ee (patch)
tree61f0ed54079d2c2ce970a7f92a025a1d9bf963b3
parenta6b15df11847ffc395b7645ef78d5d9724861afc (diff)
downloadpkgsrc-a9756d71cf7e59b2700bde6725fa1dc91a6929ee.tar.gz
vsftpd needs libcrypt on Linux when pam is not used.
Based on the patch provided by Matteo in PR 33801.
-rw-r--r--net/vsftpd/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/vsftpd/options.mk b/net/vsftpd/options.mk
index d1a51b0f971..34b0627adf0 100644
--- a/net/vsftpd/options.mk
+++ b/net/vsftpd/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2007/01/03 15:54:56 tv Exp $
+# $NetBSD: options.mk,v 1.5 2007/12/22 23:07:37 minskim Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vsftpd
PKG_SUPPORTED_OPTIONS= pam ssl tcpwrappers
@@ -24,6 +24,7 @@ SUBST_CLASSES+= pam
SUBST_FILES.pam= builddefs.h
SUBST_SED.pam+= -e 's,define VSF_BUILD_PAM,undef VSF_BUILD_PAM,g'
SUBST_STAGE.pam= pre-configure
+LIBS.Linux= -lcrypt
.endif
.if !empty(PKG_OPTIONS:Mssl)