Date: Sat, 9 Sep 2006 18:48:07 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: obrien@FreeBSD.org Subject: ports/103069: [PATCH] editors/vim: fix ctags menu entry Message-ID: <20060909144807.5F0A411B23@fonon.realnet> Resent-Message-ID: <200609091450.k89EoMoU007101@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103069 >Category: ports >Synopsis: [PATCH] editors/vim: fix ctags menu entry >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 09 14:50:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Aug 31 10:34:52 MSD 2006 >Description: - Freebsd's ctags has no -R option Copy of this message was sent to (obrien@FreeBSD.org). >How-To-Repeat: >Fix: --- vim-7.0.88_1.patch begins here --- Index: Makefile =================================================================== RCS file: /work/src/fbsd-cvs/ports/editors/vim/Makefile,v retrieving revision 1.282 diff -u -u -r1.282 Makefile --- Makefile 5 Sep 2006 16:28:24 -0000 1.282 +++ Makefile 9 Sep 2006 14:41:09 -0000 @@ -9,7 +9,7 @@ PORTNAME?= vim PATCHLEVEL= 88 PORTVERSION= 7.0.${PATCHLEVEL} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= editors MASTER_SITES= ${MASTER_SITE_VIM} DISTNAME= vim-${PORTVERSION:C/\.[0-9a-z]*$//} @@ -41,6 +41,7 @@ PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP} # consider #PATCH_DIST_ARGS= -t +REINPLACE_ARGS= -i "" MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}" ALL_TARGET= # _DATADIR= ${DISTNAME:S/-//g:S/.//g} @@ -137,6 +138,11 @@ USE_ICONV= yes .endif +post-patch: + @(${FIND} ${WRKSRC}/../runtime/ -name menu\*.vim -print0 | ${XARGS} -0\ + ${REINPLACE_CMD} \ + -e 's,ctags -R \.,${FIND} . -type f|${XARGS} ctags,g') + pre-configure: @(cd ${WRKSRC} ; ${MAKE} distclean) @${REINPLACE_CMD} -e ' \ --- vim-7.0.88_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060909144807.5F0A411B23>