On Tue, 9 Sep 2003, Matthias Andree wrote:

> Doug Barton <[EMAIL PROTECTED]> writes:
>
> >         @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
> >         @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
>
> How about: ${SED} -Ee 's#-l?pthread#${PTHREAD_LIBS}#g' \
>
> That's the one necessary to catch -pthread (such as BerkeleyDB) in
> addition to -lpthread.

You should use whatever is appropriate for your port... I just posted an
example from one of mine.

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