From nobody@FreeBSD.org  Thu Mar  8 17:01:15 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4FFA41065676
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  8 Mar 2012 17:01:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3BD3C8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  8 Mar 2012 17:01:15 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q28H1FcQ006605
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 8 Mar 2012 17:01:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q28H1Eug006604;
	Thu, 8 Mar 2012 17:01:14 GMT
	(envelope-from nobody)
Message-Id: <201203081701.q28H1Eug006604@red.freebsd.org>
Date: Thu, 8 Mar 2012 17:01:14 GMT
From: Pietro Cerutti <gahr@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] devel/zmq -- add pthread libraries to pkg-config file
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: gslin@gslin.org

>Number:         165855
>Category:       ports
>Synopsis:       [patch] devel/zmq -- add pthread libraries to pkg-config file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gahr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 08 17:10:09 UTC 2012
>Closed-Date:    Fri Mar 09 11:04:49 UTC 2012
>Last-Modified:  Fri Mar  9 11:10:09 UTC 2012
>Originator:     Pietro Cerutti
>Release:        
>Organization:
The FreeBSD Project
>Environment:
>Description:
zmq requires pthread, but doesn't specify it in the pc file.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/zmq/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	22 Dec 2011 14:39:25 -0000	1.11
+++ Makefile	8 Mar 2012 16:59:46 -0000
@@ -51,4 +51,7 @@
 		zmq_pgm.7 \
 		zmq_tcp.7
 
+post-patch:
+	${REINPLACE_CMD} -e '9s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/src/libzmq.pc.in
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gahr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Mar 8 17:10:19 UTC 2012 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165855 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Mar 8 17:10:23 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165855 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: gslin@gslin.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/165855: [patch] devel/zmq -- add pthread libraries to pkg-config file
Date: Thu, 8 Mar 2012 17:10:21 UT

 Maintainer of devel/zmq,
 
 Please note that PR ports/165855 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/165855
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Gea-Suan Lin <gslin@gslin.org>
To: bug-followup@FreeBSD.org
Cc: gslin@gslin.org
Subject: Re: ports/165855: [patch] devel/zmq -- add pthread libraries to
 pkg-config file
Date: Fri, 9 Mar 2012 18:31:44 +0800

 Thanks, please commit it.
 
 On Thu, Mar 08, 2012 at 05:10:21PM +0000, Edwin Groothuis wrote:
 > Maintainer of devel/zmq,
 > 
 > Please note that PR ports/165855 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/165855
 > 
 > -- 
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 
 -- 
 * Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
 * If you cannot convince them, confuse them.           -- Harry S Truman
State-Changed-From-To: feedback->closed 
State-Changed-By: gahr 
State-Changed-When: Fri Mar 9 11:04:48 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165855 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/165855: commit references a PR
Date: Fri,  9 Mar 2012 11:04:19 +0000 (UTC)

 gahr        2012-03-09 11:04:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/zmq            Makefile 
   Log:
   - Add pthread libraries to pkg-config file
   
   PR:             165855
   Submitted by:   Pietro Cerutti <gahr@FreeBSD.org>
   Approved by:    Gea-Suan Lin <gslin@gslin.org> (maintainer)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.12      +3 -0      ports/devel/zmq/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
