On Tue, 9 Sep 2003, Khairil Yusof wrote:

> On Tue, 2003-09-09 at 16:07, Doug Barton wrote:
>
> > Any occurences of -lc_r should be changed to ${PTHREAD_LIBS} too.
>
> Seems that -lc_r is set by default in bsd.port.mk for ${PTHREAD_LIBS}.

The reason we use the variable is that it expands differently on
different platforms, so in theory it's always doing the right thing.

> Does it mean that we should be able to specify a pthread library in
> future as a make option for installing ports?

It means that you should always use the existing method of substituting
any instances of -pthread or -lc_r that are hard coded into a port with
${PTHREAD_LIBS}.

Doug

-- 

    This .signature sanitized for your protection

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to