ports/170507: [PATCH] math/libqalculate: Replace reference to -lpthread in .pc file
Jason E. Hale
bsdkaffee at gmail.com
Thu Aug 9 16:40:02 UTC 2012
>Number: 170507
>Category: ports
>Synopsis: [PATCH] math/libqalculate: 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:40: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:
- math/libqalculate references -lpthread in it's pkgconfig file; this should
be replaced with PTHREAD_LIBS
>How-To-Repeat:
- N/A
>Fix:
--- 2012-08-08-libqalculate.diff begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 302306)
+++ Makefile (working copy)
@@ -7,7 +7,7 @@
PORTNAME= libqalculate
PORTVERSION= 0.9.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= SF/qalculate/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -32,6 +32,7 @@
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' ${WRKSRC}/po/Makefile.in.in
- @${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/libqalculate.pc.in
.include <bsd.port.mk>
--- 2012-08-08-libqalculate.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list