revert -pthread in cflags, after a bit of discussion with aja and guenther

and looking at the port which wanted -pthread in cflags, I came to the
conclusion that the other port was wrong, so it's right to zap this again.
ok mpi ajacoutot
This commit is contained in:
sthen 2012-07-08 22:21:32 +00:00
parent 177a9eeed4
commit e8efbdf060
2 changed files with 5 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.12 2012/07/08 17:41:14 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2012/07/08 22:21:32 sthen Exp $
COMMENT = library for USB device access from userspace
VERSION = 1.0.9
DISTNAME = libusb-${VERSION}
PKGNAME = libusb1-${VERSION}
REVISION = 2
REVISION = 3
SHARED_LIBS += usb-1.0 1.0 # 1.0
CATEGORIES = devel

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-libusb-1_0_pc_in,v 1.2 2012/07/08 17:41:14 sthen Exp $
$OpenBSD: patch-libusb-1_0_pc_in,v 1.3 2012/07/08 22:21:32 sthen Exp $
--- libusb-1.0.pc.in.orig Fri Apr 20 08:44:27 2012
+++ libusb-1.0.pc.in Sun Jul 8 19:06:59 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
@ -8,6 +8,5 @@ $OpenBSD: patch-libusb-1_0_pc_in,v 1.2 2012/07/08 17:41:14 sthen Exp $
-Libs: -L${libdir} -lusb-1.0
+Libs: -L${libdir} -lusb-1.0 -pthread
Libs.private: @PC_LIBS_PRIVATE@
-Cflags: -I${includedir}/libusb-1.0
+Cflags: -I${includedir}/libusb-1.0 -pthread
Cflags: -I${includedir}/libusb-1.0