summaryrefslogtreecommitdiff
path: root/editors/vim
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2010-09-19 00:30:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2010-09-19 00:30:49 +0000
commit008f5aef7ffbf0d11da1a479976550131c2d5ac3 (patch)
treec9f8baa449b3c20c68224f77989db48dce7d804c /editors/vim
parentMake 'mtree -f $(make -V MTREE_FILE) -p $PREFIX' clean. (diff)
Obey BSD's 'STRIP= ' setting.
PR: 150689 Submitted by: swell.k@gmail.com
Notes
Notes: svn path=/head/; revision=261415
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index ef0ea383b502..bec80289f989 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -193,6 +193,9 @@ CTAGS_CMD= ${FIND} . -type f \\|${XARGS} ctags
post-patch:
@(${FIND} ${WRKSRC}/../runtime/ -name menu\*.vim -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e 's,ctags -R \.,${CTAGS_CMD},g')
+.if !defined(STRIP) || ${STRIP} == ""
+ ${REINPLACE_CMD} '/$$(STRIP)/d' ${WRKSRC}/Makefile
+.endif
pre-configure:
# Fix dependency misspelling so that 'make -j#' will work.