Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2012 12:33:31 -0400
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hselasky@FreeBSD.org
Subject:   ports/170508: [PATCH] multimedia/libv4l: Don't link to -lpthread 
Message-ID:  <1344530011.838248.70681@mocha.verizon.net>
Resent-Message-ID: <201208091640.q79Ge2a0002983@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1344530011.838248.70681>