pkgsrc/security/pcsc-lite/patches/patch-src_libpscslite.pc.in
gdt dd776821c8 Don't pass pthread flags to depending packages.
This is necessary to avoid making opensc threaded, since then it can't
be dlopened by a non-threaded program.

Add patch comments.

Set LICENSE (modified-bsd, verified via wdiff).

This change is almost entirely due to manu@.
2012-11-30 14:28:55 +00:00

15 lines
493 B
PkgConfig

$NetBSD: patch-src_libpscslite.pc.in,v 1.1 2012/11/30 14:28:55 gdt Exp $
Make sure dependencies (opensc) do not get -pthread.
--- src/libpcsclite.pc.in.orig 2012-11-30 10:43:54.000000000 +0100
+++ src/libpcsclite.pc.in 2012-11-30 10:46:24.000000000 +0100
@@ -7,6 +7,6 @@
Name: PCSC Lite
Description: PC/SC smart card interface
Version: @VERSION@
Libs: -L${libdir} -lpcsclite
-Libs.private: @PTHREAD_LIBS@
-Cflags: -I${includedir} @PTHREAD_CFLAGS@
+Libs.private:
+Cflags: -I${includedir}