File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # $NetBSD: options.mk,v 1.15 2019/11/04 21:28:48 rillig Exp $
1+ # $NetBSD: options.mk,v 1.16 2021/05/30 19:56:38 thor Exp $
22
33PKG_OPTIONS_VAR = PKG_OPTIONS.mc
44PKG_OPTIONS_REQUIRED_GROUPS = screen
55PKG_OPTIONS_GROUP.screen = ncurses slang
6- PKG_SUPPORTED_OPTIONS = mc-charset x11
6+ PKG_SUPPORTED_OPTIONS = mc-charset x11 smb sftp
77PKG_SUGGESTED_OPTIONS = mc-charset slang
88
99.include "../../mk/bsd.options.mk"
@@ -40,3 +40,17 @@ CONFIGURE_ARGS+= --with-screen=ncurses
4040.else
4141CONFIGURE_ARGS+ = --with-screen=mcslang
4242.endif
43+
44+ .if !empty(PKG_OPTIONS :Msmb)
45+ CONFIGURE_ARGS+ = --enable-vfs-smb
46+ .include "../../net/samba4/buildlink3.mk"
47+ .else
48+ CONFIGURE_ARGS+ = --disable-vfs-smb
49+ .endif
50+
51+ .if !empty(PKG_OPTIONS :Msftp)
52+ CONFIGURE_ARGS+ = --enable-vfs-sftp
53+ .include "../../security/libssh2/buildlink3.mk"
54+ .else
55+ CONFIGURE_ARGS+ = --disable-vfs-sftp
56+ .endif
You can’t perform that action at this time.
0 commit comments