Re-adds `-pthread' to the .pc file, this unbreaks application depending
on libusb1, I wrongly removed this patch during the last commit. spotted by nigel@
This commit is contained in:
parent
5e821e6204
commit
a9524fd4e8
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2012/04/22 09:06:37 mpi Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2012/04/22 19:52:05 mpi Exp $
|
||||
|
||||
COMMENT = library for USB device access from userspace
|
||||
|
||||
VERSION = 1.0.9
|
||||
DISTNAME = libusb-${VERSION}
|
||||
PKGNAME = libusb1-${VERSION}
|
||||
REVISION = 0
|
||||
SHARED_LIBS += usb-1.0 1.0 # 1.0
|
||||
|
||||
CATEGORIES = devel
|
||||
|
12
devel/libusb1/patches/patch-libusb-1_0_pc_in
Normal file
12
devel/libusb1/patches/patch-libusb-1_0_pc_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-libusb-1_0_pc_in,v 1.1 2012/04/22 19:52:05 mpi Exp $
|
||||
--- libusb-1.0.pc.in.orig Fri Apr 20 08:44:27 2012
|
||||
+++ libusb-1.0.pc.in Sun Apr 22 21:40:12 2012
|
||||
@@ -6,7 +6,7 @@ includedir=@includedir@
|
||||
Name: libusb-1.0
|
||||
Description: C API for USB device access from Linux, Mac OS X, OpenBSD, NetBSD and Windows userspace
|
||||
Version: @VERSION@
|
||||
-Libs: -L${libdir} -lusb-1.0
|
||||
+Libs: -L${libdir} -lusb-1.0 -pthread
|
||||
Libs.private: @PC_LIBS_PRIVATE@
|
||||
Cflags: -I${includedir}/libusb-1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user