ports/170508: [PATCH] multimedia/libv4l: Don't link to -lpthread
Jason E. Hale
bsdkaffee at gmail.com
Thu Aug 9 16:40:02 UTC 2012
>Number: 170508
>Category: ports
>Synopsis: [PATCH] multimedia/libv4l: Don't link to -lpthread
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 09 16:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jason E. Hale
>Release: FreeBSD 9.0-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason at mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386
>Description:
- multimedia/libv4l links to -lpthread instead of PTHREAD_LIBS
>How-To-Repeat:
- build multimedia/libv4l
>Fix:
--- 2012-08-08-libv4l.diff begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 302306)
+++ Makefile (working copy)
@@ -7,7 +7,7 @@
PORTNAME= libv4l
PORTVERSION= 0.8.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/
DISTNAME= v4l-utils-${PORTVERSION}
@@ -31,6 +31,7 @@
post-patch:
@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ -e 's|-lpthread|${PTHREAD_LIBS}|g' \
-e 's|-lrt||g' \
${WRKSRC}/libv4l1/Makefile \
${WRKSRC}/libv4l2/Makefile \
--- 2012-08-08-libv4l.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list