ports/170509: [PATCH] multimedia/schroedinger: Don't link to -lpthread
Jason E. Hale
bsdkaffee at gmail.com
Thu Aug 9 16:40:03 UTC 2012
>Number: 170509
>Category: ports
>Synopsis: [PATCH] multimedia/schroedinger: Don't link to -lpthread
>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:02 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:
- multimedia/schroedinger links to -lpthread instead of PTHREAD_LIBS
- We should avoid installing known licenses in ${PORTSDIR}/Templates/Licenses
>How-To-Repeat:
- Build multimedia/schroedinger
>Fix:
--- 2012-08-08-schroedinger.diff begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 302306)
+++ Makefile (working copy)
@@ -7,6 +7,7 @@
PORTNAME= schroedinger
PORTVERSION= 1.0.11
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://diracvideo.org/download/schroedinger/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,8 +17,6 @@
LICENSE= GPLv2 LGPL20 MIT MPL
LICENSE_COMB= dual
-LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL
-LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LGPL
LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT
LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL
@@ -31,6 +30,7 @@
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$$(prefix)/libdata/pkgconfig"|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^pkgconfigdir=.*|pkgconfigdir="\\$$(prefix)/libdata/pkgconfig"|' \
+ -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>
--- 2012-08-08-schroedinger.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list