summaryrefslogtreecommitdiffstats
path: root/atc
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 /atc
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.
Diffstat (limited to 'atc')
-rw-r--r--atc/Makefile6
1 files changed, 3 insertions, 3 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