mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Update global to 6.2.4
This commit is contained in:
27
dev-util/global/global-6.2.4.bep
Normal file
27
dev-util/global/global-6.2.4.bep
Normal 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."
|
||||
38
dev-util/global/patches/global-6.2.4.patch
Normal file
38
dev-util/global/patches/global-6.2.4.patch
Normal 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
|
||||
Reference in New Issue
Block a user