Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2014 21:24:18 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/190426: [PATCH] net/libzmq2: fix pthread libs
Message-ID:  <20140530172419.8143F32F8B@hades.panopticon>
Resent-Message-ID: <201405301730.s4UHU11X043696@freefall.freebsd.org>

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

>Number:         190426
>Category:       ports
>Synopsis:       [PATCH] net/libzmq2: fix pthread libs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 30 17:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
More of a cosmetic fix: use PTHREAD_LIBS instead of hardcoded -pthread

Port maintainer (gslin@gslin.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- libzmq2-2.2.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 355877)
+++ Makefile	(working copy)
@@ -29,7 +29,7 @@
 .endif
 
 post-patch:
-	${REINPLACE_CMD} -e '9s|$$| -pthread|' ${WRKSRC}/src/libzmq.pc.in
+	${REINPLACE_CMD} -e '9s|$$| ${PTHREAD_LIBS}|' ${WRKSRC}/src/libzmq.pc.in
 
 regression-test: build
 	cd ${WRKSRC} && ${MAKE} check
--- libzmq2-2.2.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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