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