$NetBSD: patch-ab,v 1.2 2011/10/03 00:45:47 dholland Exp $ - find netbsd's terminfo - configure for pkgsrc --- create.make.orig 2002-09-23 04:18:30.000000000 +0000 +++ create.make @@ -31,7 +31,7 @@ fi # test for terminfo directory (exists on SysV systems) -if [ -d /usr/lib/terminfo -o -d /usr/share/lib/terminfo -o -d /usr/share/terminfo ] +if [ -d /usr/lib/terminfo -o -d /usr/share/lib/terminfo -o -d /usr/share/terminfo -o -f /usr/share/misc/terminfo.db ] then terminfo_exists="" else @@ -267,16 +267,16 @@ echo "all : $TARGET" >> make.local cat >> make.local << EOF curses : ee.c - cc ee.c -o ee \$(CFLAGS) -lcurses + \$(CC) ee.c -o ee \$(CFLAGS) -lcurses ee : ee.o new_curse.o - cc -o ee ee.o new_curse.o \$(CFLAGS) + \$(CC) -o ee ee.o new_curse.o \$(CFLAGS) ee.o : ee.c new_curse.h - cc -c ee.c \$(DEFINES) \$(CFLAGS) + \$(CC) -c ee.c \$(DEFINES) \$(CFLAGS) new_curse.o : new_curse.c new_curse.h - cc new_curse.c -c \$(DEFINES) \$(CFLAGS) + \$(CC) new_curse.c -c \$(DEFINES) \$(CFLAGS) EOF