When using -lcurses, you also need -lterminfo.

This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
This commit is contained in:
he 2010-02-06 23:45:24 +00:00
parent fbddcef366
commit 76d4444c78
24 changed files with 71 additions and 71 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.90 2010/02/03 15:34:37 roy Exp $
# $NetBSD: Makefile,v 1.91 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@ -15,8 +15,8 @@ SRCS= ${SHSRCS} ${GENSRCS}
DPSRCS+=${GENHDRS}
LDADD+= -ll -ledit
DPADD+= ${LIBL} ${LIBEDIT}
LDADD+= -ll -ledit -lterminfo
DPADD+= ${LIBL} ${LIBEDIT} ${LIBTERMINFO}
LFLAGS= -8 # 8-bit lex scanner for arithmetic

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 2009/10/29 14:27:26 christos Exp $
# $NetBSD: Makefile,v 1.29 2010/02/06 23:45:24 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@ -9,8 +9,8 @@ SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
main.c tunable.c update.c
YHEADER=1
MAN= atc.6
LDADD= -ll -lm -lcurses
DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
LDADD= -ll -lm -lcurses -lterminfo
DPADD= ${LIBL} ${LIBM} ${LIBCURSES} ${LIBTERMINFO}
GAMES= Game_List Killer crossover default easy game_2 \
Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
game_4 novice two-corners

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2001/10/19 03:06:09 tv Exp $
# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:24 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= battlestar
@ -7,8 +7,8 @@ SRCS= battlestar.c command1.c command2.c command3.c command4.c \
init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \
globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c
MAN= battlestar.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile,v 1.9 1999/02/13 02:54:20 lukem Exp $
# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
.include <bsd.own.mk>
PROG= boggle
SRCS= bog.c help.c mach.c prtable.c timer.c word.c
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
MAN= boggle.6
.if ${MKSHARE} != "no"

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.7 1998/02/18 22:37:31 jtc Exp $
# $NetBSD: Makefile,v 1.8 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= canfield
MAN= canfield.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.12 1999/02/13 02:54:21 lukem Exp $
# $NetBSD: Makefile,v 1.13 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
PROG= cribbage
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
SRCS= extern.c crib.c cards.c instr.c io.c score.c support.c
MAN= cribbage.6
HIDEGAME=hidegame

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.4 1998/02/18 22:37:31 jtc Exp $
# $NetBSD: Makefile,v 1.5 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 7/24/94
PROG= gomoku
SRCS= bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c
MAN= gomoku.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
.include <bsd.prog.mk>

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile,v 1.7 1998/02/18 22:37:31 jtc Exp $
# $NetBSD: Makefile,v 1.8 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= hangman
SRCS= endgame.c extern.c getguess.c getword.c main.c playgame.c \
prdata.c prman.c prword.c setup.c
MAN= hangman.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
.include <bsd.prog.mk>

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.6 2010/02/03 15:34:39 roy Exp $
# $NetBSD: Makefile,v 1.7 2010/02/06 23:45:25 he Exp $
PROG= hunt
SRCS= connect.c hunt.c otto.c playit.c pathname.c
MAN= hunt.6
LDADD= -lcurses
DPADD= ${LIBCURSES}
LDADD= -lcurses -lterminfo
DPADD= ${LIBCURSES} ${LIBTERMINFO}
HIDEGAME=hidegame
CPPFLAGS+=-I${.CURDIR}/../huntd

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.9 1998/02/18 22:37:31 jtc Exp $
# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= mille
SRCS= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
roll.c save.c types.c varpush.c
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
MAN= mille.6
HIDEGAME=hidegame

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.33 2004/02/08 22:14:27 lukem Exp $
# $NetBSD: Makefile,v 1.34 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@ -6,8 +6,8 @@
PROG= phantasia
SRCS= fight.c gamesupport.c interplayer.c io.c main.c misc.c phantglobs.c
DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
DPADD= ${LIBM} ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lm -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes
USETBL=

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.10 2008/01/28 07:03:59 dholland Exp $
# $NetBSD: Makefile,v 1.11 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rain
MAN= rain.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 1999/05/15 23:56:35 christos Exp $
# $NetBSD: Makefile,v 1.16 2010/02/06 23:45:25 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= robots
@ -6,8 +6,8 @@ CPPFLAGS+=-DMAX_PER_UID=5
SRCS= auto.c extern.c init_field.c main.c make_level.c move.c move_robs.c \
play_level.c query.c rnd_pos.c score.c flush_in.c
MAN= robots.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2004/01/01 16:05:12 jsm Exp $
# $NetBSD: Makefile,v 1.17 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= rogue
@ -6,8 +6,8 @@ CPPFLAGS+=-DUNIX
SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
message.c monster.c move.c object.c pack.c play.c random.c ring.c \
room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes
MAN= rogue.6

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2009/03/15 03:33:56 dholland Exp $
# $NetBSD: Makefile,v 1.17 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= sail
@ -6,8 +6,8 @@ SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
dr_main.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c lo_main.c \
assorted.c game.c globals.c misc.c parties.c sync.c array.c version.c
MAN= sail.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.9 1999/09/14 18:07:21 jsm Exp $
# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= snake
SRCS= snake.c
MAN= snake.6
DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
DPADD= ${LIBM} ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lm -lcurses -lterminfo
HIDEGAME=hidegame
SETGIDGAME=yes

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.8 2008/01/28 07:03:59 dholland Exp $
# $NetBSD: Makefile,v 1.9 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= worm
MAN= worm.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
.include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.9 2008/01/28 07:03:59 dholland Exp $
# $NetBSD: Makefile,v 1.10 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= worms
MAN= worms.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2009/04/14 22:15:24 lukem Exp $
# $NetBSD: Makefile,v 1.13 2010/02/06 23:45:26 he Exp $
.include <bsd.own.mk>
@ -13,8 +13,8 @@ CPPFLAGS+=-I${DIST}/include -I${.CURDIR} -I. -DGTAGS
#COPTS+=-fno-strict-aliasing
#.endif
LDADD+= -lcurses
DPADD+= ${LIBCURSES}
LDADD+= -lcurses -lterminfo
DPADD+= ${LIBCURSES} ${LIBTERMINFO}
PROG= vi
SRCS= api.c cl_bsd.c cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c \
conv.c cut.c db.c db1.c delete.c ex.c ex_abbrev.c ex_append.c \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.35 2009/04/14 22:15:27 lukem Exp $
# $NetBSD: Makefile,v 1.36 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
@ -15,8 +15,8 @@ SRCS= bufcache.c cmds.c cmdtab.c disks.c df.c drvstats.c fetch.c \
globalcmds.c icmp.c iostat.c ip.c keyboard.c main.c mbufs.c \
netcmds.c netstat.c pigs.c ps.c swap.c tcp.c vmstat.c utmpentry.c \
syscall.c
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
LDADD= -lutil -lcurses -lm -lkvm
DPADD= ${LIBCURSES} ${LIBTERMINFO} ${LIBM} ${LIBKVM}
LDADD= -lutil -lcurses -lterminfo -lm -lkvm
BINGRP= kmem
BINMODE=2555
LINKS= ${BINDIR}/systat ${BINDIR}/sysstat

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.7 2007/05/28 12:06:32 tls Exp $
# $NetBSD: Makefile,v 1.8 2010/02/06 23:45:26 he Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
USE_FORT?= yes # network client
PROG= talk
DPADD= ${LIBCURSES}
LDADD= -lcurses -lutil
DPADD= ${LIBCURSES} ${LIBTERMINFO} ${LIBUTIL}
LDADD= -lcurses -lterminfo -lutil
SRCS= ctl.c ctl_transact.c display.c get_addrs.c get_names.c \
init_disp.c invite.c io.c look_up.c msgs.c talk.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2006/10/12 19:59:13 peter Exp $
# $NetBSD: Makefile,v 1.4 2010/02/06 23:45:26 he Exp $
PROG= altqstat
SRCS= altqstat.c quip_client.c qdisc_conf.c qdisc_cbq.c qdisc_hfsc.c \
@ -7,7 +7,7 @@ SRCS= altqstat.c quip_client.c qdisc_conf.c qdisc_cbq.c qdisc_hfsc.c \
CPPFLAGS+= -DALTQ -I${.CURDIR}/../libaltq
DPADD+= ${LIBCURSES} ${LIBMATH}
LDADD+= -lcurses -lm
DPADD+= ${LIBCURSES} ${LIBTERMINFO} ${LIBMATH}
LDADD+= -lcurses -lterminfo -lm
.include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.19 2005/01/01 13:56:21 lukem Exp $
# $NetBSD: Makefile,v 1.20 2010/02/06 23:45:26 he Exp $
PROG= ipfstat
SRCS= ipfstat.c
MAN= ipfstat.8
DPADD+= ${LIBCURSES}
LDADD+= -lcurses
DPADD+= ${LIBCURSES} ${LIBTERMINFO}
LDADD+= -lcurses -lterminfo
.include <bsd.prog.mk>

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.4 2008/08/29 00:02:25 gmcgarry Exp $
# $NetBSD: Makefile,v 1.5 2010/02/06 23:45:27 he Exp $
PROG = isdnmonitor
SRCS = main.c curses.c
MAN8 = isdnmonitor.8
CPPFLAGS+= -DDEBUG # compile debug support
LDADD += -lcurses
LDADD += -lcurses -lterminfo
MAN = isdnmonitor.8
.include <bsd.prog.mk>