- Cleanup -lpthread/-pthread manipulation

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-03-25 14:58:46 +00:00
parent 871e293de1
commit d570fa6b8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382220

View File

@ -27,7 +27,7 @@ USE_LDCONFIG= yes
USES= gmake pkgconfig
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g; s|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile
@${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libkyototycoon.so.2.19.0 ${STAGEDIR}${PREFIX}/libexec/*.so