Andrea Veri 01340c
From 297b8c60803db84248c10e1eceed1d45e9226a97 Mon Sep 17 00:00:00 2001
Andrea Veri 01340c
From: David Sommerseth <davids@redhat.com>
Andrea Veri 01340c
Date: Tue, 2 Jul 2013 20:19:19 +0200
Andrea Veri 01340c
Subject: [PATCH] Tweaks to src/Makefile to fit Fedora requirements
Andrea Veri 01340c
Andrea Veri 01340c
Signed-off-by: David Sommerseth <davids@redhat.com>
Andrea Veri 01340c
---
Andrea Veri 01340c
 src/Makefile |    6 +++---
Andrea Veri 01340c
 1 file changed, 3 insertions(+), 3 deletions(-)
Andrea Veri 01340c
Andrea Veri 01340c
diff --git a/src/Makefile b/src/Makefile
Andrea Veri 01340c
index c1ec9d0..9e05544 100644
Andrea Veri 01340c
--- a/src/Makefile
Andrea Veri 01340c
+++ b/src/Makefile
David Sommerseth a095bb
@@ -1,8 +1,8 @@
David Sommerseth a095bb
 DESTDIR =
David Sommerseth a095bb
-PREFIX = /usr/local
David Sommerseth a095bb
+PREFIX = /usr
David Sommerseth a095bb
 BINDIR = $(PREFIX)/bin
David Sommerseth a095bb
 SHAREDIR = $(PREFIX)/share/imapfilter
David Sommerseth a095bb
-MANDIR = $(PREFIX)/man
David Sommerseth a095bb
+MANDIR = $(PREFIX)/share/man
David Sommerseth a095bb
 
David Sommerseth a095bb
 MYCFLAGS =
David Sommerseth a095bb
 MYLDFLAGS =
Andrea Veri 01340c
@@ -16,7 +16,7 @@ LIBPCRE = -lpcre
David Sommerseth a095bb
 LIBSSL = -lssl
David Sommerseth a095bb
 LIBCRYPTO = -lcrypto
David Sommerseth a095bb
 
Andrea Veri 01340c
-CFLAGS = -Wall -Wextra -O -DCONFIG_SHAREDIR='"$(SHAREDIR)"' $(INCDIRS) $(MYCFLAGS)
Andrea Veri 01340c
+CFLAGS += -Wall -Wextra -DCONFIG_SHAREDIR='"$(SHAREDIR)"' $(INCDIRS)
David Sommerseth a095bb
 LDFLAGS = $(LIBDIRS) $(MYLDFLAGS)
David Sommerseth a095bb
 LIBS = -lm $(LIBLUA) $(LIBPCRE) $(LIBSSL) $(LIBCRYPTO) $(MYLIBS)
David Sommerseth a095bb
 
Andrea Veri 01340c
-- 
Andrea Veri 01340c
1.7.10.2
Andrea Veri 01340c