summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2010-02-06 23:45:24 +0000
committerhe <he@NetBSD.org>2010-02-06 23:45:24 +0000
commitdb13ce935757eb24ac6f8278df5d6a15d319d15b (patch)
treec40002560b6f70791ffe79e802a35748d1aaa743
parent164f814056645ef1910d5bf4c9147929e07c3a7c (diff)
downloadbsdgames-darwin-db13ce935757eb24ac6f8278df5d6a15d319d15b.tar.gz
bsdgames-darwin-db13ce935757eb24ac6f8278df5d6a15d319d15b.tar.zst
bsdgames-darwin-db13ce935757eb24ac6f8278df5d6a15d319d15b.zip
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.
-rw-r--r--atc/Makefile6
-rw-r--r--battlestar/Makefile6
-rw-r--r--boggle/boggle/Makefile6
-rw-r--r--canfield/canfield/Makefile6
-rw-r--r--cribbage/Makefile6
-rw-r--r--gomoku/Makefile6
-rw-r--r--hangman/Makefile6
-rw-r--r--hunt/hunt/Makefile6
-rw-r--r--mille/Makefile6
-rw-r--r--phantasia/Makefile6
-rw-r--r--rain/Makefile6
-rw-r--r--robots/Makefile6
-rw-r--r--rogue/Makefile6
-rw-r--r--sail/Makefile6
-rw-r--r--snake/snake/Makefile6
-rw-r--r--worm/Makefile6
-rw-r--r--worms/Makefile6
17 files changed, 51 insertions, 51 deletions
diff --git a/atc/Makefile b/atc/Makefile
index 1917bfff..6ff7b3e4 100644
--- a/atc/Makefile
+++ b/atc/Makefile
@@ -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
diff --git a/battlestar/Makefile b/battlestar/Makefile
index 424f29a8..0b5bb494 100644
--- a/battlestar/Makefile
+++ b/battlestar/Makefile
@@ -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
diff --git a/boggle/boggle/Makefile b/boggle/boggle/Makefile
index 3ea52988..9112721f 100644
--- a/boggle/boggle/Makefile
+++ b/boggle/boggle/Makefile
@@ -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"
diff --git a/canfield/canfield/Makefile b/canfield/canfield/Makefile
index f9fb8643..c67bf91c 100644
--- a/canfield/canfield/Makefile
+++ b/canfield/canfield/Makefile
@@ -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
diff --git a/cribbage/Makefile b/cribbage/Makefile
index 537e0ea4..6b0decc3 100644
--- a/cribbage/Makefile
+++ b/cribbage/Makefile
@@ -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
diff --git a/gomoku/Makefile b/gomoku/Makefile
index 9af821e7..d39f70e4 100644
--- a/gomoku/Makefile
+++ b/gomoku/Makefile
@@ -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>
diff --git a/hangman/Makefile b/hangman/Makefile
index ad913a4a..357bc8fd 100644
--- a/hangman/Makefile
+++ b/hangman/Makefile
@@ -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>
diff --git a/hunt/hunt/Makefile b/hunt/hunt/Makefile
index 39bfe891..72c34768 100644
--- a/hunt/hunt/Makefile
+++ b/hunt/hunt/Makefile
@@ -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
diff --git a/mille/Makefile b/mille/Makefile
index 0aee2419..ee0e38ac 100644
--- a/mille/Makefile
+++ b/mille/Makefile
@@ -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
diff --git a/phantasia/Makefile b/phantasia/Makefile
index 1eb58c87..d47110a1 100644
--- a/phantasia/Makefile
+++ b/phantasia/Makefile
@@ -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=
diff --git a/rain/Makefile b/rain/Makefile
index e35591e9..7f85034b 100644
--- a/rain/Makefile
+++ b/rain/Makefile
@@ -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>
diff --git a/robots/Makefile b/robots/Makefile
index 6237c712..6eb8f593 100644
--- a/robots/Makefile
+++ b/robots/Makefile
@@ -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
diff --git a/rogue/Makefile b/rogue/Makefile
index e24c1d5b..d372e893 100644
--- a/rogue/Makefile
+++ b/rogue/Makefile
@@ -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
diff --git a/sail/Makefile b/sail/Makefile
index 00426ca2..846e2e5b 100644
--- a/sail/Makefile
+++ b/sail/Makefile
@@ -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
diff --git a/snake/snake/Makefile b/snake/snake/Makefile
index 2d6ae90c..7855c2f5 100644
--- a/snake/snake/Makefile
+++ b/snake/snake/Makefile
@@ -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
diff --git a/worm/Makefile b/worm/Makefile
index 62850d1d..36112e69 100644
--- a/worm/Makefile
+++ b/worm/Makefile
@@ -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>
diff --git a/worms/Makefile b/worms/Makefile
index 8e9191da..eb6681a1 100644
--- a/worms/Makefile
+++ b/worms/Makefile
@@ -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>