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