--- Makefile.orig	2010-06-07 19:39:01.000000000 -0500
+++ Makefile	2010-06-08 19:14:59.000000000 -0500
@@ -15,7 +15,12 @@
 	grep.1 zegrep.1 \
 	grep.1 zfgrep.1
 
-CFLAGS+= -Wall
+DESTDIR=       ${PREFIX}
+BINDIR=                /bin
+MANDIR=                /man/man
+NO_MANCOMPRESS= 1
+
+CFLAGS+= -Wall -pedantic
 
 .if ${OPSYS} == "Minix"
 CPPFLAGS+= -DNOZ -D_POSIX_SOURCE -D_MINIX
