pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/libhidapi



Module Name:    pkgsrc
Committed By:   nikita
Date:           Mon May 15 16:31:38 UTC 2023

Modified Files:
        pkgsrc/comms/libhidapi: Makefile

Log Message:
libhidapi: pthread


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/comms/libhidapi/Makefile

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

Modified files:

Index: pkgsrc/comms/libhidapi/Makefile
diff -u pkgsrc/comms/libhidapi/Makefile:1.7 pkgsrc/comms/libhidapi/Makefile:1.8
--- pkgsrc/comms/libhidapi/Makefile:1.7 Wed May 10 20:15:10 2023
+++ pkgsrc/comms/libhidapi/Makefile     Mon May 15 16:31:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/05/10 20:15:10 nikita Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/15 16:31:38 nikita Exp $
 
 GITHUB_PROJECT=        hidapi
 GITHUB_TAG=    ${GITHUB_PROJECT}-0.13.1
@@ -15,7 +15,8 @@ LICENSE=      gnu-gpl-v3 OR modified-bsd
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-LDFLAGS+=              -lpthread
+PTHREAD_AUTO_VARS=     yes
+LDFLAGS+=              ${PTHREAD_LFLAGS}
 
 PKGCONFIG_OVERRIDE+=   pc/hidapi-hidraw.pc.in
 PKGCONFIG_OVERRIDE+=   pc/hidapi-libusb.pc.in



Home | Main Index | Thread Index | Old Index