- Fix build with clang

PR:		ports/164974
Submitted by:	James Kelly <james@hicag.org>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-02-12 03:38:52 +00:00
parent e01398ce8b
commit d64886fbca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291018

View file

@ -22,7 +22,7 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
post-patch: post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
${WRKSRC}/configure @${REINPLACE_CMD} -e '/__VA_ARGS__/ s|format, ||g' ${WRKSRC}/src/include/spf_log.h
.include <bsd.port.mk> .include <bsd.port.mk>