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. --- sail/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sail') 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 -- cgit v1.2.3