summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-22 17:07:45 +0000
committerobrien <obrien@FreeBSD.org>2002-06-22 17:07:45 +0000
commitc0791760bd09e444e71e327dbb420209c9fa4ebb (patch)
tree3bbc93d7c5fcb7172e10de40e36f15914d515404 /gnu
parent0ebcd6afe4387e7731280584d2ec897f127570f3 (diff)
downloadFreeBSD-src-c0791760bd09e444e71e327dbb420209c9fa4ebb.zip
FreeBSD-src-c0791760bd09e444e71e327dbb420209c9fa4ebb.tar.gz
When linking staticaly libtermcap is a postrequisite of libreadline.
Otherwise `tgoto' (only used by libreadline) isn't resolved. Submitted by: bde
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index be5c544..291a0a18 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
OpenPOWER on IntegriCloud