Skip to content

Commit

Permalink
pcsc-lite: fix USB support on NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
tnn2 committed Jun 5, 2024
1 parent 705cb8b commit 9bd0b5b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion security/pcsc-lite/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.45 2024/05/27 07:44:17 adam Exp $
# $NetBSD: Makefile,v 1.46 2024/06/05 20:25:16 tnn Exp $

DISTNAME= pcsc-lite-2.2.3
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= https://pcsclite.apdu.fr/files/
EXTRACT_SUFX= .tar.xz
Expand All @@ -21,6 +22,9 @@ MESON_ARGS+= -Dlibsystemd=false
MESON_ARGS+= -Dlibudev=false
MESON_ARGS+= -Dserialconfdir=${PKG_SYSCONFDIR}/reader.conf.d
MESON_ARGS+= -Dusbdropdir=${PREFIX}/lib/pcsc-lite/drivers
.if ${OPSYS} != "Linux" && ${OPSYS} != "Darwin"
MESON_ARGS+= -Dlibusb=true # use libusb for hotplug
.endif

MAKE_DIRS+= ${VARBASE}/pcsc-lite
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite
Expand Down

0 comments on commit 9bd0b5b

Please sign in to comment.