lang/rust: fixes

- Remove extra STRIP_CMD from the Makefile
- Fix SRIP_CMD that was stripping statically linked libraries

Approved by:	mentors (implicit)
This commit is contained in:
Bartek Rutkowski 2014-10-28 14:21:28 +00:00
parent 51825cd15e
commit 7323ebb6c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371637

View file

@ -56,8 +56,6 @@ post-extract:
post-install:
@${RM} ${STAGEDIR}${PREFIX}/lib/rustlib/manifest
@${STRIP_CMD} `${GREP} -v -e '^@dir' -e '^man' -e 'rlib$$' \
${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:'`
@${STRIP_CMD} `${GREP} -v -e '^@dir' -e '^man' -e 'rlib$$' \
-e '\.a$$' ${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:g'`
-e '^.*\.a$$' ${PLIST} | ${SED} 's:^:${STAGEDIR}${PREFIX}/:'`
.include <bsd.port.post.mk>