From 008f5aef7ffbf0d11da1a479976550131c2d5ac3 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 19 Sep 2010 00:30:49 +0000 Subject: Obey BSD's 'STRIP= ' setting. PR: 150689 Submitted by: swell.k@gmail.com --- editors/vim/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editors/vim') 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. -- cgit v1.2.3