pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/mc sysutils/mc: add explicit handling of samb...
details: https://anonhg.NetBSD.org/pkgsrc/rev/16c5239965f7
branches: trunk
changeset: 453510:16c5239965f7
user: thor <thor%pkgsrc.org@localhost>
date: Sun May 30 19:56:38 2021 +0000
description:
sysutils/mc: add explicit handling of samba and sftp vfs as options
diffstat:
sysutils/mc/options.mk | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 1b68c6752955 -r 16c5239965f7 sysutils/mc/options.mk
--- a/sysutils/mc/options.mk Sun May 30 17:38:31 2021 +0000
+++ b/sysutils/mc/options.mk Sun May 30 19:56:38 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.15 2019/11/04 21:28:48 rillig Exp $
+# $NetBSD: options.mk,v 1.16 2021/05/30 19:56:38 thor Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mc
PKG_OPTIONS_REQUIRED_GROUPS= screen
PKG_OPTIONS_GROUP.screen= ncurses slang
-PKG_SUPPORTED_OPTIONS= mc-charset x11
+PKG_SUPPORTED_OPTIONS= mc-charset x11 smb sftp
PKG_SUGGESTED_OPTIONS= mc-charset slang
.include "../../mk/bsd.options.mk"
@@ -40,3 +40,17 @@
.else
CONFIGURE_ARGS+= --with-screen=mcslang
.endif
+
+.if !empty(PKG_OPTIONS:Msmb)
+CONFIGURE_ARGS+= --enable-vfs-smb
+.include "../../net/samba4/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-vfs-smb
+.endif
+
+.if !empty(PKG_OPTIONS:Msftp)
+CONFIGURE_ARGS+= --enable-vfs-sftp
+.include "../../security/libssh2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-vfs-sftp
+.endif
Home |
Main Index |
Thread Index |
Old Index