From db13ce935757eb24ac6f8278df5d6a15d319d15b Mon Sep 17 00:00:00 2001 From: he Date: Sat, 6 Feb 2010 23:45:24 +0000 Subject: 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. --- rogue/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rogue') 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 -- cgit v1.2.3