summaryrefslogtreecommitdiff
path: root/editors/jed/patches/patch-ab
blob: 6a60c8749c6d2608f02685bae4e9211ff18028ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ab,v 1.6 2001/10/25 19:29:13 agc Exp $

--- src/Makefile.in.orig	Sun Oct  7 23:48:16 2001
+++ src/Makefile.in	Tue Oct  9 09:16:12 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/jed# <--- make sure # is at end of file!!
 BIN_DIR = @bindir@
 MAN_DIR = @mandir@/man1
 INSTALL		= @INSTALL@
@@ -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)
@@ -186,7 +185,6 @@
 
 install: all install_directories
 	$(INSTALL) $(OBJDIR)/jed $(DEST_BIN_DIR)/
-	-$(INSTALL) $(OBJDIR)/xjed $(DEST_BIN_DIR)/
 	-$(INSTALL) $(OBJDIR)/rgrep $(DEST_BIN_DIR)/
 	-$(INSTALL) $(OBJDIR)/getmail $(DEST_JED_ROOT)/bin/
 	@for i in $(JED_LIB_FILES); \