mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Changed /boot/home/config to /boot/common in .bep files and added a small diff for readline
This commit is contained in:
18
sys-libs/ncurses/ncurses-5.6.bep
Normal file
18
sys-libs/ncurses/ncurses-5.6.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="ncurses"
|
||||
HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html"
|
||||
SRC_URI="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd ncurses-5.6
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd ncurses-5.6
|
||||
make install
|
||||
}
|
||||
37
sys-libs/readline/readline-5.2-haiku.diff
Normal file
37
sys-libs/readline/readline-5.2-haiku.diff
Normal file
@@ -0,0 +1,37 @@
|
||||
diff -urN readline-5.2/configure.in readline-5.2-haiku/configure.in
|
||||
--- readline-5.2/configure.in 2006-09-28 16:04:24.000000000 +0000
|
||||
+++ readline-5.2-haiku/configure.in 2008-08-22 11:14:49.000000000 +0000
|
||||
@@ -87,6 +87,9 @@
|
||||
i[[3456]]86-*-beos*)
|
||||
cross_cache=${srcdir}/cross-build/x86-beos.cache
|
||||
;;
|
||||
+ i[[3456]]86-*-haiku*)
|
||||
+ cross_cache=${srcdir}/cross-build/x86-haiku.cache
|
||||
+ ;;
|
||||
*) echo "configure: cross-compiling for $host is not supported" >&2
|
||||
;;
|
||||
esac
|
||||
diff -urN readline-5.2/histfile.c readline-5.2-haiku/histfile.c
|
||||
--- readline-5.2/histfile.c 2006-03-31 20:48:43.000000000 +0000
|
||||
+++ readline-5.2-haiku/histfile.c 2008-08-22 10:45:20.000000000 +0000
|
||||
@@ -400,7 +400,7 @@
|
||||
{
|
||||
write (file, bp, chars_read - (bp - buffer));
|
||||
|
||||
-#if defined (__BEOS__)
|
||||
+#if defined (__BEOS__) && !defined(__HAIKU__)
|
||||
/* BeOS ignores O_TRUNC. */
|
||||
ftruncate (file, chars_read - (bp - buffer));
|
||||
#endif
|
||||
diff -urN readline-5.2/input.c readline-5.2-haiku/input.c
|
||||
--- readline-5.2/input.c 2006-08-16 19:15:16.000000000 +0000
|
||||
+++ readline-5.2-haiku/input.c 2008-08-22 11:08:52.000000000 +0000
|
||||
@@ -471,7 +471,7 @@
|
||||
if (result == 0)
|
||||
return (EOF);
|
||||
|
||||
-#if defined (__BEOS__)
|
||||
+#if defined (__BEOS__) && !defined(__HAIKU__)
|
||||
if (errno == EINTR)
|
||||
continue;
|
||||
#endif
|
||||
18
sys-libs/readline/readline-5.2.bep
Normal file
18
sys-libs/readline/readline-5.2.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="readline"
|
||||
HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
|
||||
SRC_URI="ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_R5="untested"
|
||||
STATUS_BONE="untested"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd readline-5.2
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd readline-5.2
|
||||
make install
|
||||
}
|
||||
@@ -8,7 +8,7 @@ STATUS_HAIKU="untested"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd zlib-1.2.3
|
||||
./configure --prefix=/boot/home/config
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user