Initial .bep and .patch file for jed. It's nearly working. The install is tripping up, so a little more work on this one

is needed still.
This commit is contained in:
Scott McCreary
2010-08-27 06:35:13 +00:00
parent 38b4544e8f
commit aa4923d948
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
DESCRIPTION="JED is a freely available text editor"
HOMEPAGE="http://www.jedsoft.org/jed/"
SRC_URI="ftp://space.mit.edu/pub/davis/jed/v0.99/jed-0.99-19.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="ncurses >= 5.7"
CHECKSUM_MD5="c9b2f58a3defc6f61faa1ce7d6d629ea"
BUILD {
cd jed-0.99-19
cd autoconf
cp /boot/common/share/libtool/config/config.guess .
cd ..
./configure --prefix=/boot/common LIBS="-lnetwork"
make clean
make
}
INSTALL {
cd jed-0.99-19
make install
}
LICENSE="GNU GPL v2"
#COPYRIGHT=""

View File

@@ -0,0 +1,35 @@
diff -urN jed-0.99-19/configure jed-0.99-19-haiku/configure
--- jed-0.99-19/configure 2009-12-14 02:12:55.051118080 +0000
+++ jed-0.99-19-haiku/configure 2010-08-27 06:26:06.645922816 +0000
@@ -5320,6 +5320,7 @@
;;
*haiku* )
M_LIB=""
+ LIBS = "-lnetwork"
DYNAMIC_LINK_FLAGS="-Wl,-export-dynamic"
ELF_CC="\$(CC)"
ELF_CFLAGS="\$(CFLAGS) -fPIC"
diff -urN jed-0.99-19/src/Makefile.in jed-0.99-19-haiku/src/Makefile.in
--- jed-0.99-19/src/Makefile.in 2009-12-14 02:12:55.063963136 +0000
+++ jed-0.99-19-haiku/src/Makefile.in 2010-08-27 06:11:39.000000000 +0000
@@ -91,7 +91,7 @@
DL_LIB = @DYNAMIC_LINK_LIB@
# Anything else???
-OTHERLIBS = @LIBS@ -lm
+OTHERLIBS = @LIBS@ @M_LIB@
#---------------------------------------------------------------------------
# There should be no need to modify anything below here.
diff -urN jed-0.99-19/src/pty.c jed-0.99-19-haiku/src/pty.c
--- jed-0.99-19/src/pty.c 2009-12-14 02:12:55.064225280 +0000
+++ jed-0.99-19-haiku/src/pty.c 2010-08-27 06:01:46.000000000 +0000
@@ -19,7 +19,7 @@
#include <errno.h>
#ifdef HAVE_GRANTPT
-# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX)
+# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX) && !defined(__HAIKU__)
# define USE_SYSV_PTYS
# include <sys/types.h>
# include <stropts.h>