ports/165855: [patch] devel/zmq -- add pthread libraries to pkg-config file

Pietro Cerutti gahr at FreeBSD.org
Thu Mar 8 17:10:10 UTC 2012


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



More information about the freebsd-ports-bugs mailing list