Update global to 6.2.4

This commit is contained in:
Chris Roberts
2012-07-27 04:49:16 +00:00
parent 6ba57d2928
commit 7b8d4f22d0
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
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.4.tar.gz"
CHECKSUM_MD5="c778d4e52a30706db7a02070cce1078c"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-util/ctags >= 5.8"
BUILD {
cd global-6.2.4
autoreconf -fi
./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \
--datadir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/doc" \
--mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man" \
--infodir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/info" \
--with-ncurses \
--with-exuberant-ctags="$(finddir B_COMMON_BIN_DIRECTORY)/ctags" \
--with-posix-sort=/bin/sort
make
}
INSTALL {
cd global-6.2.4
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.4/configure.ac.orig global-6.2.4/configure.ac
--- global-6.2.4/configure.ac.orig 2012-05-30 03:30:15.003670016 -0600
+++ global-6.2.4/configure.ac 2012-07-26 22:38:17.379060224 -0600
@@ -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.4/libdb/db.h.orig global-6.2.4/libdb/db.h
--- global-6.2.4/libdb/db.h.orig 2012-05-30 03:30:15.028311552 -0600
+++ global-6.2.4/libdb/db.h 2012-07-26 22:38:17.392429568 -0600
@@ -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.4/m4/check_curses.m4.orig global-6.2.4/m4/check_curses.m4
--- global-6.2.4/m4/check_curses.m4.orig 2012-05-30 03:30:15.003407872 -0600
+++ global-6.2.4/m4/check_curses.m4 2012-07-26 22:38:17.409206784 -0600
@@ -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