chinsan píše v pá 20. 07. 2007 v 21:06 +0800:
> The Original:
> @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
> The patched:
> @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
>
> Since "PTHREAD_LIBS?= -pthread", so why we should replace it again?
> Therefore, it was guessed as a typo of "-lpthread" instead of "-pthread".
> Because PTHREAD_LIBS = -pthread. :)
>
> The following text is just a quote
> "If a port insists on linking -lpthread or -lc_r directly, patch it to use
> PTHREAD_LIBS variable provided by the ports framework."
People are supposed to patch s|-pthread|${PTHREAD_LIBS}| too, because
PTHREAD_LIBS are not guaranteed to be equal to -pthread forever.
--
Pav Lucistnik <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
What do we know about love? Love is like a pear. Pear is sweet and have
a specific shape. Try to exactly define the shape of a pear.
-- Marigold: 50 Years Of Poetry
signature.asc
Description: Toto je digitálně podepsaná část zprávy
