summaryrefslogtreecommitdiff
path: root/editors/xjed/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-23 14:26:54 +0000
committeragc <agc@pkgsrc.org>2002-07-23 14:26:54 +0000
commitb693240af03ec0d2471f92857d55779350dafa8b (patch)
tree481dd76f3d4d6839e21c1b31e87a0e8662fadc0b /editors/xjed/patches
parentfbaee2ca08ac83ffccf768eb6dc8d13d7ecc6a5e (diff)
downloadpkgsrc-b693240af03ec0d2471f92857d55779350dafa8b.tar.gz
Initial import of xjed-0.99.15 into the NetBSD Packages Collection.
Inspired by PR 14195, from Scott Baron (sb125499@ohiou.edu), but based on the -current NetBSD jed package. JED is a freely available text editor for Unix, VMS, MSDOS, OS/2, and MS Windows. Features include: * Color syntax highlighting on color terminals. * Folding support * Extensible in a language resembling C. Completely customizable. * Capable of read GNU info files from within JED's info browser * A variety of programming modes (with syntax highlighting) are available including C, C++, FORTRAN, TeX, HTML, SH, IDL, DCL, NROFF... xjed is the version for X11
Diffstat (limited to 'editors/xjed/patches')
-rw-r--r--editors/xjed/patches/patch-aa21
-rw-r--r--editors/xjed/patches/patch-ab32
2 files changed, 53 insertions, 0 deletions
diff --git a/editors/xjed/patches/patch-aa b/editors/xjed/patches/patch-aa
new file mode 100644
index 00000000000..a746f5b359b
--- /dev/null
+++ b/editors/xjed/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+
+--- configure.orig Tue Oct 9 10:15:13 2001
++++ configure Tue Oct 9 10:16:30 2001
+@@ -2576,7 +2576,7 @@
+ /usr/share/lib/terminfo \
+ /usr/local/lib/terminfo"
+
+-TERMCAP=-ltermcap
++TERMCAP=-lcurses
+
+ echo $ac_n "checking for Terminfo""... $ac_c" 1>&6
+ echo "configure:2583: checking for Terminfo" >&5
+@@ -2623,6 +2623,7 @@
+ test "x$exec" = "xNONE" && exec="$ac_default_prefix"
+ test "x$exec_prefix" = "xNONE" && exec_prefix="$prefix"
+ JD_Search_Dirs="$JD_Search_Dirs \
++ /usr/pkg/include,/usr/pkg/lib
+ $includedir,$libdir \
+ /usr/local/include,/usr/local/lib \
+ /usr/include,/usr/lib \
diff --git a/editors/xjed/patches/patch-ab b/editors/xjed/patches/patch-ab
new file mode 100644
index 00000000000..f1a4590e7a2
--- /dev/null
+++ b/editors/xjed/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+
+--- src/Makefile.in.orig Tue Oct 9 10:22:43 2001
++++ src/Makefile.in Tue Oct 9 10:24:34 2001
+@@ -13,8 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ #JED_ROOT = $(HOME)/src/jed# <--- make sure # is at end of file!!
+-#JED_ROOT = $(prefix)/jed# <--- make sure # is at end of file!!
+-JED_ROOT = @JED_ROOT@# <--- make sure # is at end of file!!
++JED_ROOT = $(prefix)/share/xjed# <--- make sure # is at end of file!!
+ BIN_DIR = @bindir@
+ MAN_DIR = @mandir@/man1
+ INSTALL = @INSTALL@
+@@ -117,7 +116,7 @@
+ all: jed rgrep
+
+
+-jed: $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/jed
++jed: $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/jed $(OBJDIR)/xjed
+ @echo jed created in $(OBJDIR)
+ $(OBJDIR)/jed: $(OBJS) $(OBJDIR)/display.o $(OBJGPMMOUSEO)
+ cd $(OBJDIR); $(CC) $(OFILES) display.o $(GPMMOUSEO) \
+@@ -154,7 +153,7 @@
+ rgrep: $(OBJDIR)/rgrep
+ @echo rgrep created in $(OBJDIR)
+ $(OBJDIR)/rgrep: $(OBJDIR)/vfile.o $(OBJDIR)/rgrep.o
+- cd $(OBJDIR); $(CC) vfile.o rgrep.o -o rgrep $(LDFLAGS) $(SLANG_LIB) -lslang
++ cd $(OBJDIR); $(CC) vfile.o rgrep.o -o rgrep $(LDFLAGS) $(SLANG_LIB) -lslang -lm -ltermcap
+ #
+ getmail: $(OBJDIR)/getmail
+ @echo getmail created in $(OBJDIR)