pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/pcsc-lite



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Jun  5 20:25:17 UTC 2024

Modified Files:
        pkgsrc/security/pcsc-lite: Makefile

Log Message:
pcsc-lite: fix USB support on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/security/pcsc-lite/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/pcsc-lite/Makefile
diff -u pkgsrc/security/pcsc-lite/Makefile:1.45 pkgsrc/security/pcsc-lite/Makefile:1.46
--- pkgsrc/security/pcsc-lite/Makefile:1.45     Mon May 27 07:44:17 2024
+++ pkgsrc/security/pcsc-lite/Makefile  Wed Jun  5 20:25:16 2024
@@ -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
@@ -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



Home | Main Index | Thread Index | Old Index