From 3f9e7c9931216c7a4b3f63c770143542692e7804 Mon Sep 17 00:00:00 2001 From: Paddy Milner Date: Tue, 26 Aug 2025 15:01:58 +0100 Subject: [PATCH] Add configuration options to termscp --- net-misc/termscp/termscp-9999.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net-misc/termscp/termscp-9999.ebuild b/net-misc/termscp/termscp-9999.ebuild index 45cc4d5..86f286c 100644 --- a/net-misc/termscp/termscp-9999.ebuild +++ b/net-misc/termscp/termscp-9999.ebuild @@ -14,11 +14,11 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" -IUSE="dbus samba" +IUSE="dbus smb" DEPEND="dev-libs/openssl dbus? ( sys-apps/dbus ) - samba? ( net-fs/samba ) + smb? ( net-fs/samba ) " RDEPEND=${DEPEND} @@ -31,6 +31,13 @@ src_unpack() { cargo_live_src_unpack } +src_configure() { + local myfeatures=( + $(usev smb) + ) + cargo_src_configure +} + src_compile() { cargo_scr_compile } \ No newline at end of file