pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/freerdp2 add option for PCSC (smart cards), enable...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f0ffd9e7b19
branches: trunk
changeset: 451904:3f0ffd9e7b19
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Mon May 03 18:24:38 2021 +0000
description:
add option for PCSC (smart cards), enable by default
diffstat:
net/freerdp2/Makefile | 4 ++--
net/freerdp2/options.mk | 14 +++++++++++---
2 files changed, 13 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r a98bf37293d9 -r 3f0ffd9e7b19 net/freerdp2/Makefile
--- a/net/freerdp2/Makefile Mon May 03 18:18:31 2021 +0000
+++ b/net/freerdp2/Makefile Mon May 03 18:24:38 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2021/05/03 17:41:50 jdolecek Exp $
+# $NetBSD: Makefile,v 1.20 2021/05/03 18:24:38 jdolecek Exp $
DISTNAME= freerdp-2.1.2
PKGNAME= ${DISTNAME:S/freerdp-/freerdp2-/1}
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= net
MASTER_SITES= https://pub.freerdp.com/releases/
diff -r a98bf37293d9 -r 3f0ffd9e7b19 net/freerdp2/options.mk
--- a/net/freerdp2/options.mk Mon May 03 18:18:31 2021 +0000
+++ b/net/freerdp2/options.mk Mon May 03 18:24:38 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2020/06/09 12:22:01 nia Exp $
+# $NetBSD: options.mk,v 1.3 2021/05/03 18:24:38 jdolecek Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.freerdp2
-PKG_SUPPORTED_OPTIONS= alsa pulseaudio cups x11
-PKG_SUGGESTED_OPTIONS= x11
+PKG_SUPPORTED_OPTIONS= alsa pulseaudio cups x11 pcsc
+PKG_SUGGESTED_OPTIONS= x11 pcsc
PKG_SUGGESTED_OPTIONS.Linux= alsa
.include "../../mk/bsd.options.mk"
@@ -47,3 +47,11 @@
.else
CMAKE_ARGS+= -DWITH_X11=OFF
.endif
+
+.if !empty(PKG_OPTIONS:Mpcsc)
+. include "../../security/pcsc-lite/buildlink3.mk"
+CMAKE_ARGS+= -DWITH_PCSC=ON
+PLIST.pcsc= yes
+.else
+CMAKE_ARGS+= -DWITH_PCSC=OFF
+.endif
Home |
Main Index |
Thread Index |
Old Index