Date: 2 Sep 2004 07:22:39 -0000 From: Rui Lopes <rui@ruilopes.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71277: Update port: devel/global to 4.8 Message-ID: <20040902072239.4555.qmail@griffin.clustercube.com> Resent-Message-ID: <200409020730.i827UR1w092211@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71277 >Category: ports >Synopsis: Update port: devel/global to 4.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 02 07:30:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Rui Lopes >Release: FreeBSD 5.3-BETA2 i386 >Organization: >Environment: System: FreeBSD speedy 5.3-BETA2 FreeBSD 5.3-BETA2 #3: Wed Sep 1 20:11:48 WEST 2004 root@speedy:/usr/obj/usr/src/sys/DEBUGGER i386 >Description: * Update to 4.8. GLOBAL now has C versions of the various commands. Perl versions are still arround, but have .pl extension, eg: htags.pl. * Add a fix for making `htags -d' work See: http://savannah.gnu.org/cgi-bin/viewcvs/global/global/htags/htags.c.diff?r1=1.14&r2=1.15&diff_format=u >How-To-Repeat: >Fix: --- devel::global-update-to-4.8.patch begins here --- diff -ruN global.orig/Makefile global/Makefile --- global.orig/Makefile Tue Aug 31 17:06:10 2004 +++ global/Makefile Tue Aug 31 17:40:45 2004 @@ -6,7 +6,7 @@ # PORTNAME= global -PORTVERSION= 4.6.1 +PORTVERSION= 4.8 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,13 +16,16 @@ GNU_CONFIGURE= yes USE_PERL5= yes +USE_REINPLACE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= gctags.1 global.1 gozilla.1 gtags.1 htags.1 INFO= global +post-patch: + ${REINPLACE_CMD} -E 's,^(gtags_DATA = )AUTHORS .* THANKS( \\$$),\1\2,' ${WRKSRC}/Makefile.in + post-install: - install-info ${PREFIX}/info/global.info ${PREFIX}/info/dir .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/global .for file in AUTHORS COPYING ChangeLog FAQ INSTALL LICENSE NEWS README \ diff -ruN global.orig/distinfo global/distinfo --- global.orig/distinfo Tue Aug 31 17:06:10 2004 +++ global/distinfo Tue Aug 31 17:09:48 2004 @@ -1,2 +1,2 @@ -MD5 (global-4.6.1.tar.gz) = 6430ca736a74a734b10201d28fe0a64a -SIZE (global-4.6.1.tar.gz) = 504379 +MD5 (global-4.8.tar.gz) = 1c1c80f3bd6bd8eea16124fa0a8006bf +SIZE (global-4.8.tar.gz) = 591811 diff -ruN global.orig/files/patch-aa global/files/patch-aa --- global.orig/files/patch-aa Tue Aug 31 17:06:10 2004 +++ global/files/patch-aa Thu Jan 1 01:00:00 1970 @@ -1,19 +0,0 @@ ---- doc/Makefile.in.orig Fri Oct 3 11:16:01 2003 -+++ doc/Makefile.in Mon Oct 20 13:53:50 2003 -@@ -358,15 +358,7 @@ - done; \ - done - @$(POST_INSTALL) -- @if (install-info --version && \ -- install-info --version | grep -i -v debian) >/dev/null 2>&1; then \ -- list='$(INFO_DEPS)'; \ -- for file in $$list; do \ -- relfile=`echo "$$file" | sed 's|^.*/||'`; \ -- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\ -- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\ -- done; \ -- else : ; fi -+ - install-man: - - installcheck-am: diff -ruN global.orig/files/patch-htags::htags.c-fix-d global/files/patch-htags::htags.c-fix-d --- global.orig/files/patch-htags::htags.c-fix-d Thu Jan 1 01:00:00 1970 +++ global/files/patch-htags::htags.c-fix-d Thu Sep 2 07:58:54 2004 @@ -0,0 +1,27 @@ +--- htags/htags.c 2004/09/01 14:44:33 1.14 ++++ htags/htags.c 2004/09/01 21:58:28 1.15 +@@ -61,7 +61,6 @@ + char *save_config; + char *save_argv; + +-char rootpath[MAXPATHLEN]; + char cwdpath[MAXPATHLEN]; + char dbpath[MAXPATHLEN]; + char distpath[MAXPATHLEN]; +@@ -1481,11 +1480,14 @@ + strbuf_close(sb); + } + /* +- * get root, cwd and dbpath. ++ * get dbpath. + */ +- getdbpath(cwdpath, rootpath, dbpath, 0); ++ if (!getcwd(cwdpath, sizeof(cwdpath))) ++ die("cannot get current directory."); + if (arg_dbpath[0]) + strlimcpy(dbpath, arg_dbpath, sizeof(dbpath)); ++ else ++ strlimcpy(dbpath, cwdpath, sizeof(cwdpath)); + + if (cflag && !usable("gzip")) { + warning("'gzip' command not found. -c option ignored."); diff -ruN global.orig/pkg-plist global/pkg-plist --- global.orig/pkg-plist Tue Aug 31 17:06:10 2004 +++ global/pkg-plist Tue Aug 31 17:36:29 2004 @@ -3,6 +3,7 @@ bin/gozilla bin/gtags bin/htags +bin/htags.pl %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog @@ -12,4 +13,12 @@ %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/THANKS +share/gtags/globash.rc +share/gtags/gtags.conf +share/gtags/gtags.el +share/gtags/gtags.pl +share/gtags/gtags.vim +share/gtags/nvi-1.79-gtags.diff +share/gtags/bless.sh.tmpl +share/gtags/global.cgi.tmpl %%PORTDOCS%%@dirrm %%DOCSDIR%% --- devel::global-update-to-4.8.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?20040902072239.4555.qmail>