aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rust
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2014-10-28 22:21:28 +0800
committerrobak <robak@FreeBSD.org>2014-10-28 22:21:28 +0800
commitdcf667e1c6d19340e807fa45a7e7e6cbf9fde662 (patch)
treebaf14ef8cfd7bdd476cad79989ffeaaff97dafd4 /lang/rust
parent3417e7ad86d3a694b543094724be63eeefe4e36c (diff)
downloadfreebsd-ports-gnome-dcf667e1c6d19340e807fa45a7e7e6cbf9fde662.tar.gz
freebsd-ports-gnome-dcf667e1c6d19340e807fa45a7e7e6cbf9fde662.tar.zst
freebsd-ports-gnome-dcf667e1c6d19340e807fa45a7e7e6cbf9fde662.zip
lang/rust: fixes
- Remove extra STRIP_CMD from the Makefile - Fix SRIP_CMD that was stripping statically linked libraries Approved by: mentors (implicit)
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 8ef2f4079ce9..15790a1b1c9b 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -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>