From 02bfae1f87c4693eb00bf943fb24886a5ac47a09 Mon Sep 17 00:00:00 2001
From: John Denker <jsd@av8n.com>
Date: Tue, 24 Jul 2012 11:29:56 -0700
Subject: improve compatibility across boost versions; allow use by
 non-superuser

---
 tools/makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'tools')

diff --git a/tools/makefile b/tools/makefile
index 08bf17c..76df23b 100644
--- a/tools/makefile
+++ b/tools/makefile
@@ -38,12 +38,13 @@ show:
 	: --- $(qprogs) +++ $(moreprogs)
 
 greylist: greylist.o
-	$(CC) $< -lboost_filesystem-mt -o $@
+	$(CC) $< -lboost_filesystem-mt -lboost_system -o $@
+
+#	$(CC) $< -lboost_filesystem -o $@
 
 wripper: wripper.o
 	$(CC) $< -o $@
-	chgrp daemon $@
-	chmod g+s $@
+	chgrp daemon $@ && chmod g+s $@ || true
 
 mail-scan: mail-scan.o
 	$(CC) $< -lboost_regex -o $@
-- 
cgit v1.2.3