diff options
-rw-r--r-- | editors/vim/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index bec80289f989..465debf91825 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -258,7 +258,8 @@ show-options: cklatest: -ncftpls \ ftp://ftp.vim.org/pub/vim/patches/${PORTVERSION:C/\.[0-9a-z]*$//}/ \ - | fgrep ${PORTVERSION:C/[0-9]*$//} | ${TAIL} + | ${SED} -n -e 's/${PORTVERSION:C/[0-9]*$//}\([0-9][0-9][0-9]\)$$/\1/p' \ + | ${TAIL} -1 find-bad-patches: @cd ${DISTDIR} ; egrep -l \ |