Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2012 17:01:14 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165855: [patch] devel/zmq -- add pthread libraries to pkg-config file
Message-ID:  <201203081701.q28H1Eug006604@red.freebsd.org>
Resent-Message-ID: <201203081710.q28HA95Y057498@freefall.freebsd.org>

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

>Number:         165855
>Category:       ports
>Synopsis:       [patch] devel/zmq -- add pthread libraries to pkg-config file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 08 17:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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