aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-01-07 15:35:01 +0800
committerobrien <obrien@FreeBSD.org>2008-01-07 15:35:01 +0800
commit3006f9fd771fc39bdf60536b6592cb97e8baf50e (patch)
treef00d1ae1451fbceaf4be127fa1c919af6c752176 /editors
parent92eafd978c68633f1479abf40812c754bca716ba (diff)
downloadfreebsd-ports-graphics-3006f9fd771fc39bdf60536b6592cb97e8baf50e.tar.gz
freebsd-ports-graphics-3006f9fd771fc39bdf60536b6592cb97e8baf50e.tar.zst
freebsd-ports-graphics-3006f9fd771fc39bdf60536b6592cb97e8baf50e.zip
Be more precautionary in cleaning out patch turds.
Submitted by: "Mikhail T." <mi+metlife@aldan.algebra.com>
Diffstat (limited to 'editors')
-rw-r--r--editors/vim/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 16bba777334..80c493ed911 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -199,7 +199,7 @@ pre-configure:
# Clean up junk files to keep them from being installed.
pre-install:
- @${RM} -f ${WRKSRC}/../runtime/macros/maze/*.orig
+ @${FIND} ${WRKSRC:H} -type f -name '*.orig' -delete
post-install:
[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim)