]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-shared-readline.patch
Allow build on sparc - undef USE_PROC_FS.
[packages/gdb.git] / gdb-shared-readline.patch
1 diff -urN gdb-5.0.org/Makefile.in gdb-5.0/Makefile.in
2 --- gdb-5.0.org/Makefile.in     Wed May 24 18:38:08 2000
3 +++ gdb-5.0/Makefile.in Wed May 24 18:40:05 2000
4 @@ -558,7 +558,6 @@
5         all-perl \
6         all-prms \
7         all-rcs \
8 -       all-readline \
9         all-release \
10         all-recode \
11         all-sed \
12 @@ -631,7 +630,6 @@
13         check-perl \
14         check-prms \
15         check-rcs \
16 -       check-readline \
17         check-recode \
18         check-sed \
19         check-send-pr \
20 @@ -705,7 +703,6 @@
21         install-perl \
22         install-prms \
23         install-rcs \
24 -       install-readline \
25         install-recode \
26         install-sed \
27         install-send-pr \
28 @@ -869,7 +866,6 @@
29         clean-perl \
30         clean-prms \
31         clean-rcs \
32 -       clean-readline \
33         clean-release \
34         clean-recode \
35         clean-sed \
36 @@ -1561,7 +1557,7 @@
37  all-gcc: all-bison all-byacc all-binutils all-gas all-ld
38  all-bootstrap: all-libiberty all-bison all-byacc all-binutils all-gas all-ld
39  GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui
40 -all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
41 +all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
42  all-gettext:
43  all-gnuserv:
44  configure-target-gperf: $(ALL_GCC)
45 @@ -1606,12 +1602,11 @@
46  all-perl:
47  all-prms: all-libiberty
48  all-rcs:
49 -all-readline:
50  all-recode: all-libiberty
51  all-sed: all-libiberty
52  all-send-pr: all-prms
53  all-shellutils:
54 -all-sim: all-libiberty all-bfd all-opcodes all-readline
55 +all-sim: all-libiberty all-bfd all-opcodes
56  all-tar: all-libiberty
57  all-tcl:
58  all-tcl8.1:
59 @@ -1853,7 +1848,7 @@
60                 SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
61  
62  .PHONY: gdb.tar.bz2
63 -GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils intl
64 +GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes sim utils intl
65  gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
66         $(MAKE) -f Makefile.in gdb-taz TOOL=gdb \
67                 MD5PROG="$(MD5PROG)" \
68 diff -urN gdb-5.0.org/gdb/Makefile.in gdb-5.0/gdb/Makefile.in
69 --- gdb-5.0.org/gdb/Makefile.in Wed May 24 18:37:32 2000
70 +++ gdb-5.0/gdb/Makefile.in     Wed May 24 18:40:47 2000
71 @@ -126,10 +126,10 @@
72  BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
73  
74  # Where is the READLINE library?  Typically in ../readline.
75 -READLINE_DIR = ../readline
76 -READLINE = $(READLINE_DIR)/libreadline.a
77 -READLINE_SRC = $(srcdir)/$(READLINE_DIR)
78 -READLINE_CFLAGS = -I$(READLINE_SRC)/..
79 +READLINE_DIR = /usr/include/readline
80 +READLINE = -lreadline
81 +READLINE_SRC = /usr/include/readline
82 +READLINE_CFLAGS = -I/usr/include/readline
83  
84  WARN_CFLAGS = @WARN_CFLAGS@
85  WERROR_CFLAGS = @WERROR_CFLAGS@
This page took 0.028414 seconds and 3 git commands to generate.