FreeBSD Bugzilla – Attachment 203090 Details for
Bug 236734
graphics/ilmbase: libtool uses -nostdlib which disables -pthread
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to explicitly add -pthread -lpthread when linking IlmThread
bz_236734.patch (text/plain), 902 bytes, created by
Matthias Andree
on 2019-03-24 02:10:29 UTC
(
hide
)
Description:
patch to explicitly add -pthread -lpthread when linking IlmThread
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2019-03-24 02:10:29 UTC
Size:
902 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (Revision 496699) >+++ Makefile (Arbeitskopie) >@@ -3,7 +3,7 @@ > > PORTNAME= ilmbase > PORTVERSION= 2.3.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= graphics devel > MASTER_SITES= https://github.com/openexr/openexr/releases/download/v${PORTVERSION}/ > >@@ -24,6 +24,7 @@ > # The configure script uses bash arrays > CONFIGURE_SHELL=${BASH_CMD} > CONFIGURE_ARGS= --disable-static >+MAKE_ARGS+= PTHREAD_LIBS="-pthread -lpthread" > TEST_TARGET= check > > PORTDOCS= AUTHORS ChangeLog README.md >@@ -47,6 +48,7 @@ > > post-configure: > ${REINPLACE_CMD} -e 's/#define HAVE_UCONTEXT_H 1/#undef HAVE_UCONTEXT_H/' ${WRKSRC}/config/IlmBaseConfig.h >+ ${REINPLACE_CMD} -e '/^libIlmThread_la_LIBADD/s/$$/ $$(PTHREAD_LIBS)/' ${WRKSRC}/IlmThread/Makefile > > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libHalf.so.${VER}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236734
: 203090