Subject: Building games/phantasia
To: None <>
From: John Franklin <>
List: current-users
Date: 11/17/2003 09:53:12
For the last several days I've been having problems building a couple
files in the games/phantasia directory.  In short, the compiler is
unable to find curses.h.  The patch below fixes it, but I'm not
convinced that it is the right fix.

Index: games/phantasia/Makefile
RCS file: /cvsroot/src/games/phantasia/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- games/phantasia/Makefile	2003/11/16 14:14:18	1.32
+++ games/phantasia/Makefile	2003/11/17 14:37:03
@@ -39,7 +39,7 @@
 	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC:M*.lo} -lm
 BUILDSYMLINKS+=	phantglobs.c host_phantglobs.c
+HOST_CPPFLAGS+=	-I${.CURDIR} -I${DESTDIR}/usr/include
 # Make Phantasia map.  Change the map commands reflect your
 # installation.
 # PLOTDEVICE is used for plotting the map.  Change as appropriate.

John Franklin
ICBM: N37 12'54", W80 27'14" Z+2100'