summaryrefslogtreecommitdiffstats
path: root/hunt
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 /hunt
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 'hunt')
-rw-r--r--hunt/hunt/Makefile6
1 files changed, 3 insertions, 3 deletions
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