- Fix typo.

"If a port insists on linking -lpthread or -lc_r directly, patch it to use
PTHREAD_LIBS variable provided by the ports framework."

Noticed by:	kevlo
This commit is contained in:
Chin-San Huang 2007-07-20 12:46:12 +00:00
parent 4989bdc901
commit a6534e237e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=30510

View file

@ -694,7 +694,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting>
<programlisting>post-patch:
@${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure</programlisting>
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure</programlisting>
<para>Quite often, there is a situation when the software being
ported, especially if it is primarily developed on &windows;, uses