$NetBSD: patch-ad,v 1.3 1999/11/01 03:38:18 jlam Exp $ --- Makefile.in.orig Tue Jun 29 06:12:40 1999 +++ Makefile.in Fri Aug 27 09:55:04 1999 @@ -23,7 +23,7 @@ MANDIR = @mandir@/man1 CC = @CC@ CFLAGS = @CFLAGS@ -LIBS = @LIBS@ +LIBS = @LIBS@ -lpng -lz -lttf -lintl -lXpm -lX11 DEFS = @DEFS@ LDFLAGS= @LDFLAGS@ INSTALL= @INSTALL@ @@ -41,7 +41,7 @@ $(CC) ${LDFLAGS} -o webalizer webalizer.o graphs.o ${LIBS} webalizer.o: webalizer.c webalizer.h webalizer_lang.h ctry.h - $(CC) ${CFLAGS} ${DEFS} -c webalizer.c + $(CC) -DPREFIX=\"@prefix@\" ${CFLAGS} ${DEFS} -c webalizer.c graphs.o: graphs.c graphs.h webalizer_lang.h $(CC) ${CFLAGS} ${DEFS} -I${GDLIB} -c graphs.c @@ -58,7 +58,7 @@ install: all $(INSTALL_PROGRAM) webalizer ${BINDIR}/webalizer $(INSTALL_DATA) webalizer.1 ${MANDIR}/webalizer.1 - $(INSTALL_DATA) sample.conf /etc/webalizer.conf.sample + $(INSTALL_DATA) sample.conf @prefix@/etc/webalizer.conf.sample uninstall: rm -f ${MANDIR}/webalizer.1