- Fix build with custom LOCALBASE

Submitted by:	kmoore
This commit is contained in:
Beat Gaetzi 2010-10-25 22:25:10 +00:00
parent 15d6e71863
commit 335dd8c413
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263590

View File

@ -73,6 +73,8 @@ post-patch:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in \
${WRKSRC}/db/sqlite3/src/Makefile.in
${REINPLACE_CMD} -e 's|/usr/local/include|${LOCALBASE}/include|' \
${WRKSRC}/js/src/config/mkdepend/Makefile.in
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|echo aout|echo elf|g ; \