ports/170510: [PATCH] astro/gpsd: Replace reference to -lpthread in .pc file
Jason E. Hale
bsdkaffee at gmail.com
Thu Aug 9 16:50:02 UTC 2012
>Number: 170510
>Category: ports
>Synopsis: [PATCH] astro/gpsd: Replace reference to -lpthread in .pc file
>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:50: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 at mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386
>Description:
- astro/gpsd references -lpthread in the pkgconfig file Qgpsmm.pc.in; this should
be replaced with PTHREAD_LIBS
>How-To-Repeat:
- N/A
>Fix:
--- 2012-08-09-gpsd.diff begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 302306)
+++ Makefile (working copy)
@@ -7,6 +7,7 @@
PORTNAME= gpsd
PORTVERSION= 3.6
+PORTREVISION= 1
CATEGORIES= astro geography
MASTER_SITES= SAVANNAH
@@ -268,6 +269,9 @@
SCONS_ARGS+= profiling=yes
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Qgpsmm.pc.in
+
# generates .py[co] files for installed modules
# if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted
# with these files when module is imported from root user
--- 2012-08-09-gpsd.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list