Update gnu global to 6.2

This commit is contained in:
Chris Roberts
2012-02-21 06:43:35 +00:00
parent 626ed41ad9
commit 612f3c695c
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
DESCRIPTION="GNU Global is a source code tagging system."
HOMEPAGE="http://www.gnu.org/software/global/"
SRC_URI="http://ftp.gnu.org/pub/gnu/global/global-6.2.tar.gz"
CHECKSUM_MD5="30f5c6c0f737a3475ec8786ae6e34648"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-util/ctags >= 5.8"
BUILD {
cd global-6.2
autoreconf -fi
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--with-ncurses \
--with-exuberant-ctags=$(finddir B_COMMON_BIN_DIRECTORY)/ctags \
--with-posix-sort=/bin/sort
make
}
INSTALL {
cd global-6.2
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="2000-2012 Tama Communications Corporation
2007-2012 Free Software Foundation, Inc."

View File

@@ -0,0 +1,38 @@
diff -up global-6.2/configure.ac.orig global-6.2/configure.ac
--- global-6.2/configure.ac.orig 2012-01-20 22:15:13.034340864 -0700
+++ global-6.2/configure.ac 2012-02-20 23:31:39.196870144 -0700
@@ -58,7 +58,7 @@ LTDL_INIT([recursive])
dnl Checks for libraries.
dnl Checks for header files.
-AC_CHECK_HEADERS(limits.h string.h unistd.h stdarg.h sys/time.h fcntl.h)
+AC_CHECK_HEADERS(limits.h string.h unistd.h stdarg.h stdint.h sys/time.h fcntl.h)
AC_CHECK_HEADERS(sys/resource.h)
AC_HEADER_DIRENT
if test ${ac_header_dirent} = no; then
diff -up global-6.2/libdb/db.h.orig global-6.2/libdb/db.h
--- global-6.2/libdb/db.h.orig 2012-01-20 22:15:13.058982400 -0700
+++ global-6.2/libdb/db.h 2012-02-20 23:31:39.197918720 -0700
@@ -40,6 +40,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include "compat.h"
diff -up global-6.2/m4/check_curses.m4.orig global-6.2/m4/check_curses.m4
--- global-6.2/m4/check_curses.m4.orig 2012-02-20 23:35:06.375128064 -0700
+++ global-6.2/m4/check_curses.m4 2012-02-20 23:36:47.207618048 -0700
@@ -240,6 +240,9 @@ AC_DEFUN([AC_SEARCH_NCURSES], [
AC_NCURSES(/usr/include/ncurses, curses.h, -lncurses, -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
+ AC_NCURSES(/boot/develop/headers/3rdparty, ncurses.h, -lncurses, -I/boot/develop/headers/3rdparty, "ncurses on /boot/develop")
+ AC_NCURSES(/boot/common/include/ncurses, ncurses.h, -lncurses, -I/boot/common/include/ncurses, "ncurses on /boot/common")
+
dnl
dnl We couldn't find ncurses, try SysV curses
dnl