pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/mc
Module Name: pkgsrc
Committed By: thor
Date: Sun May 30 19:56:38 UTC 2021
Modified Files:
pkgsrc/sysutils/mc: options.mk
Log Message:
sysutils/mc: add explicit handling of samba and sftp vfs as options
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/mc/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/mc/options.mk
diff -u pkgsrc/sysutils/mc/options.mk:1.15 pkgsrc/sysutils/mc/options.mk:1.16
--- pkgsrc/sysutils/mc/options.mk:1.15 Mon Nov 4 21:28:48 2019
+++ pkgsrc/sysutils/mc/options.mk Sun May 30 19:56:38 2021
@@ -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 @@ CONFIGURE_ARGS+= --with-screen=ncurses
.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