ports/53263: [PATCH] for updating devel/global to 4.5.3 and other corrections
Rui Lopes
rui at ruilopes.com
Wed Jun 18 21:30:15 UTC 2003
The following reply was made to PR ports/53263; it has been noted by GNATS.
From: Rui Lopes <rui at ruilopes.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc: rui at ruilopes.com
Subject: Re: ports/53263: [PATCH] for updating devel/global to 4.5.3 and
other corrections
Date: 18 Jun 2003 22:26:40 +0100
--=-vQanr8z20XAyAmlz1Ivl
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
apply this patch instead. thx.
--=-vQanr8z20XAyAmlz1Ivl
Content-Disposition: attachment; filename=global-4.5.2.patch
Content-Type: text/plain; name=global-4.5.2.patch; charset=
Content-Transfer-Encoding: 7bit
# updated to global 4.5.3
# added a patch to fix some miss #define of functions that are available
# on FreeBSD (I notified global developers about this, and they changed
# their source tree, so this will not be needed in future versions)
# updated WWW link
# removed the anoying configure warning:
# configure: WARNING: you should use --build, --host, --target
# moved the @unexec install-info thing of pkg-plist
# -- Rui Lopes <rui at ruilopes.com>
diff -ruN global.orig/Makefile global/Makefile
--- global.orig/Makefile Thu Jun 12 23:37:03 2003
+++ global/Makefile Thu Jun 12 23:54:17 2003
@@ -6,15 +6,17 @@
#
PORTNAME= global
-PORTVERSION= 4.5.2
+PORTVERSION= 4.5.3
CATEGORIES= devel
-MASTER_SITES= http://www.tamacom.com/global/
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jos at catnook.com
COMMENT= A source code tag system
GNU_CONFIGURE= yes
USE_PERL5= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gctags.1 global.1 gozilla.1 gtags.1 htags.1
diff -ruN global.orig/distinfo global/distinfo
--- global.orig/distinfo Thu Jun 12 23:37:03 2003
+++ global/distinfo Thu Jun 12 23:48:04 2003
@@ -1 +1 @@
-MD5 (global-4.5.2.tar.gz) = f2f61d5c7e2d1cf2855e5a2fb35fd0af
+MD5 (global-4.5.3.tar.gz) = e591095c42fc42c6af8a1a3a5797a5a1
diff -ruN global.orig/files/patch-compat.h global/files/patch-compat.h
--- global.orig/files/patch-compat.h Thu Jan 1 01:00:00 1970
+++ global/files/patch-compat.h Wed Jun 18 22:05:18 2003
@@ -0,0 +1,11 @@
+--- libdb/compat.h.orig Thu Jun 5 04:36:52 2003
++++ libdb/compat.h Wed Jun 18 22:02:55 2003
+@@ -91,7 +91,7 @@
+ #define bcopy(a, b, n) memmove(b, a, n)
+ #endif
+
+-#if defined(BSD) || defined(BSD4_3)
++#if 0
+ #define strchr(a, b) index(a, b)
+ #define strrchr(a, b) rindex(a, b)
+ #define memcmp(a, b, n) bcmp(a, b, n)
diff -ruN global.orig/pkg-descr global/pkg-descr
--- global.orig/pkg-descr Thu Jun 12 23:37:03 2003
+++ global/pkg-descr Thu Jun 12 23:43:05 2003
@@ -1,7 +1,7 @@
GLOBAL is a source code tag system that works the same way across diverse
-environments. Supported languages are C/Yacc and Java.
+environments. Supported languages are C, C++, Yacc and Java.
You can locate a specified function in the source files and move there easily.
It is useful for hacking a large project containing many subdirectories,
many '#ifdef' and many main() functions, like MH, X or BSD kernel.
-WWW: http://www.tamacom.com/global/
+WWW: http://www.gnu.org/software/global/
diff -ruN global.orig/pkg-plist global/pkg-plist
--- global.orig/pkg-plist Thu Jun 12 23:37:03 2003
+++ global/pkg-plist Fri Jun 13 00:32:47 2003
@@ -3,12 +3,12 @@
bin/gozilla
bin/gtags
bin/htags
+%%PORTDOCS%%@unexec install-info --delete %D/info/global.info %D/info/dir
%%PORTDOCS%%info/global.info
%%PORTDOCS%%info/global.info-1
%%PORTDOCS%%info/global.info-2
%%PORTDOCS%%info/global.info-3
%%PORTDOCS%%@exec install-info %D/info/global.info %D/info/dir
-%%PORTDOCS%%@unexec install-info --delete %D/info/global.info %D/info/dir
%%PORTDOCS%%share/doc/global/AUTHORS
%%PORTDOCS%%share/doc/global/COPYING
%%PORTDOCS%%share/doc/global/ChangeLog
--=-vQanr8z20XAyAmlz1Ivl--
More information about the freebsd-ports-bugs
mailing list