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:           Wed May 10 20:15:10 UTC 2023

Modified Files:
        pkgsrc/comms/libhidapi: Makefile buildlink3.mk

Log Message:
libhidapi: add more dependencies.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/comms/libhidapi/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/comms/libhidapi/buildlink3.mk

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.6 pkgsrc/comms/libhidapi/Makefile:1.7
--- pkgsrc/comms/libhidapi/Makefile:1.6 Wed May 10 16:56:38 2023
+++ pkgsrc/comms/libhidapi/Makefile     Wed May 10 20:15:10 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/05/10 16:56:38 nikita Exp $
+# $NetBSD: Makefile,v 1.7 2023/05/10 20:15:10 nikita Exp $
 
 GITHUB_PROJECT=        hidapi
 GITHUB_TAG=    ${GITHUB_PROJECT}-0.13.1
@@ -15,7 +15,7 @@ LICENSE=      gnu-gpl-v3 OR modified-bsd
 USE_LANGUAGES= c c++
 USE_TOOLS+=    pkg-config
 
-USE_LIBTOOL=   yes
+LDFLAGS+=              -lpthread
 
 PKGCONFIG_OVERRIDE+=   pc/hidapi-hidraw.pc.in
 PKGCONFIG_OVERRIDE+=   pc/hidapi-libusb.pc.in
@@ -32,4 +32,8 @@ PLIST.libusb= yes
 .include "../../devel/cmake/build.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libusb1/buildlink3.mk"
+.if ${OPSYS} == "Linux"
+.include "../../sysutils/libudev/buildlink3.mk"
+.endif
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/comms/libhidapi/buildlink3.mk
diff -u pkgsrc/comms/libhidapi/buildlink3.mk:1.2 pkgsrc/comms/libhidapi/buildlink3.mk:1.3
--- pkgsrc/comms/libhidapi/buildlink3.mk:1.2    Sat Apr  4 13:18:54 2015
+++ pkgsrc/comms/libhidapi/buildlink3.mk        Wed May 10 20:15:10 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2015/04/04 13:18:54 rodent Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2023/05/10 20:15:10 nikita Exp $
 
 BUILDLINK_TREE+=       libhidapi
 
@@ -8,6 +8,10 @@ LIBHIDAPI_BUILDLINK3_MK:=
 BUILDLINK_API_DEPENDS.libhidapi+=      libhidapi>=0.7.0
 BUILDLINK_PKGSRCDIR.libhidapi?=        ../../comms/libhidapi
 .include "../../devel/libusb1/buildlink3.mk"
+.if ${OPSYS} == "Linux"
+.include "../../sysutils/libudev/buildlink3.mk"
+.endif
+.include "../../mk/pthread.buildlink3.mk"
 .endif
 
 BUILDLINK_TREE+=       -libhidapi



Home | Main Index | Thread Index | Old Index