$NetBSD: patch-ac,v 1.4 1999/11/12 16:07:02 agc Exp $ --- Makefile.in.orig Wed Feb 17 14:22:57 1999 +++ Makefile.in Fri Nov 12 16:04:03 1999 @@ -7,11 +7,18 @@ CC = @CC@ CFLAGS = @CFLAGS@ +CFLAGS += -I${LOCALBASE}/include # for ncurses.h LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ DEFS = @DEFS@ INSTALL = @INSTALL@ +OPSYS!= uname -s + +.if ${OPSYS} == "SunOS" +LIBS+= -lcurses +.endif + # Installation directories prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -39,7 +46,5 @@ rm -f Makefile config.cache config.status config.log install: $(PRODUCT) - $(INSTALL) -d -m 755 $(bindir) - $(INSTALL) -s -m 755 $(PRODUCT) $(bindir) - $(INSTALL) -d -m 755 $(mandir) - $(INSTALL) -m 644 $(PRODUCT).1 $(mandir) + $(BSD_INSTALL_PROGRAM) $(PRODUCT) $(bindir) + $(BSD_INSTALL_DATA) $(PRODUCT).1 $(mandir)