From 22cb25a945290477f30c8e97a9ee232ec4a33d64 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 22 Jun 2002 17:07:45 +0000 Subject: [PATCH] When linking staticaly libtermcap is a postrequisite of libreadline. Otherwise `tgoto' (only used by libreadline) isn't resolved. Submitted by: bde --- gnu/usr.bin/binutils/gdb/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile index be5c544e7245..291a0a1880dd 100644 --- a/gnu/usr.bin/binutils/gdb/Makefile +++ b/gnu/usr.bin/binutils/gdb/Makefile @@ -4,6 +4,7 @@ .PATH: ${SRCDIR}/binutils +NOSHARED?=yes PROG= gdb XSRCS= annotate.c ax-general.c ax-gdb.c bcache.c blockframe.c \ breakpoint.c buildsym.c c-exp.y c-lang.c c-typeprint.c \ @@ -40,16 +41,16 @@ CFLAGS+= -I${GDBDIR}/gdb CFLAGS+= -I${GDBDIR}/gdb/config DPADD= ${RELTOP}/libbfd/libbfd.a DPADD+= ${RELTOP}/libopcodes/libopcodes.a -DPADD+= ${LIBTERMCAP} DPADD+= ${LIBGNUREGEX} DPADD+= ${RELTOP}/libiberty/libiberty.a DPADD+= ${LIBREADLINE} +DPADD+= ${LIBTERMCAP} LDADD+= ${RELTOP}/libbfd/libbfd.a LDADD+= ${RELTOP}/libopcodes/libopcodes.a -LDADD+= -ltermcap LDADD+= -lgnuregex LDADD+= ${RELTOP}/libiberty/libiberty.a LDADD+= -lreadline +LDADD+= -ltermcap GDBDIR= ${.CURDIR}/../../../../contrib/gdb .PATH: ${GDBDIR}/gdb