Date: Thu, 9 Aug 2012 12:33:23 -0400 From: "Jason E. Hale" <bsdkaffee@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sylvio@FreeBSD.org Subject: ports/170507: [PATCH] math/libqalculate: Replace reference to -lpthread in .pc file Message-ID: <1344530003.380307.70637@mocha.verizon.net> Resent-Message-ID: <201208091640.q79Ge1Ct002974@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1344530003.380307.70637>