--- Makefile.orig	Sat Feb 18 00:57:56 2006
+++ Makefile	Sun Nov 12 18:51:39 2006
@@ -8,10 +8,10 @@
 endif
 
 ifeq ($(DEBUG), 1)
-  CFLAGS=$(WARNFLAGS) $(DEBCFLAGS) -I$(INCDIR)
+  CFLAGS=$(WARNFLAGS) $(DEBCFLAGS) -I$(INCDIR) -I$(LOCALBASE)/include
   LFLAGS=$(DEBLFLAGS)
 else
-  CFLAGS=$(WARNFLAGS) $(OPTCFLAGS) -I$(INCDIR)
+  CFLAGS=$(WARNFLAGS) $(OPTCFLAGS) -I$(INCDIR) -I$(LOCALBASE)/include
   LFLAGS=$(OPTLFLAGS)
 endif
 
@@ -19,15 +19,15 @@
   MSGEDCFG=\"$(CFGDIR)/msged.cfg\"
 endif
 
-CDEFS=-D$(OSTYPE) -DUSE_MSGAPI -DUSE_FIDOCONFIG -DUNAME=\"$(UNAME)\" \
+CDEFS=-D$(OSTYPE) -DUSE_MSGAPI -DUSE_CURSES -DUSE_FIDOCONFIG -DUNAME=\"$(UNAME)\" \
       $(ADDCDEFS) -DREADMAPSDAT=\"$(CFGDIR)/readmaps.dat\" \
       -DWRITMAPSDAT=\"$(CFGDIR)/writmaps.dat\" \
       -DDEFAULT_CONFIG_FILE=$(MSGEDCFG)
 
 ifeq ($(SHORTNAME), 1)
-  LIBS= -L$(LIBDIR) -lfidoconf -lsmapi
+  LIBS= -L$(LIBDIR) -L$(LOCALBASE)/lib -lfidoconf -lsmapi
 else
-  LIBS= -L$(LIBDIR) -lfidoconfig -lsmapi
+  LIBS= -L$(LIBDIR) -L$(LOCALBASE)/lib -lfidoconfig -lsmapi
 endif
 
 TARGET=	msged$(EXE)


syntax highlighted by Code2HTML, v. 0.9.1