diff options
author | he <he@NetBSD.org> | 2010-02-06 23:45:24 +0000 |
---|---|---|
committer | he <he@NetBSD.org> | 2010-02-06 23:45:24 +0000 |
commit | db13ce935757eb24ac6f8278df5d6a15d319d15b (patch) | |
tree | c40002560b6f70791ffe79e802a35748d1aaa743 /battlestar | |
parent | 164f814056645ef1910d5bf4c9147929e07c3a7c (diff) | |
download | bsdgames-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 'battlestar')
-rw-r--r-- | battlestar/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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 |