Fixed the .bep and .patch files for jed so that they work now.

This commit is contained in:
Scott McCreary
2010-08-27 15:10:45 +00:00
parent aa4923d948
commit 3ed051c48c
2 changed files with 19 additions and 6 deletions

View File

@@ -3,21 +3,25 @@ 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"
DEPEND="ncurses >= 5.7
slang >= 2.2.2"
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"
./configure --prefix=`finddir B_COMMON_DIRECTORY` LIBS="-lnetwork" JED_ROOT=`finddir B_COMMON_LIB_DIRECTORY`/jed
make clean
make
}
INSTALL {
cd jed-0.99-19
make install
touch src/objs/xjed
make install DESTDIR=${DESTDIR}
rm ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/bin/xjed
}
LICENSE="GNU GPL v2"
#COPYRIGHT=""
COPYRIGHT="1992, 1998-2009 John E. Davis"

View File

@@ -10,8 +10,8 @@ diff -urN jed-0.99-19/configure jed-0.99-19-haiku/configure
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
--- jed-0.99-19/src/Makefile.in 2009-12-14 02:12:55.029622272 +0000
+++ jed-0.99-19-haiku/src/Makefile.in 2010-08-27 14:56:57.164888576 +0000
@@ -91,7 +91,7 @@
DL_LIB = @DYNAMIC_LINK_LIB@
@@ -21,6 +21,15 @@ diff -urN jed-0.99-19/src/Makefile.in jed-0.99-19-haiku/src/Makefile.in
#---------------------------------------------------------------------------
# There should be no need to modify anything below here.
@@ -240,7 +240,7 @@
#
install_bin: install_bin_directories
$(INSTALL) $(OBJDIR)/jed $(DEST_BIN_DIR)/
- -cd $(DEST_BIN_DIR); ln -s jed jed-script
+ -cd $(DEST_BIN_DIR); ln -s -f jed jed-script
-$(INSTALL) $(OBJDIR)/xjed $(DEST_BIN_DIR)/
if test -r $(OBJDIR)/getmail; \
then \
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