summaryrefslogtreecommitdiff
path: root/mail/openemm2013/files/patch-src__c__bav__GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/openemm2013/files/patch-src__c__bav__GNUmakefile')
-rw-r--r--mail/openemm2013/files/patch-src__c__bav__GNUmakefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/openemm2013/files/patch-src__c__bav__GNUmakefile b/mail/openemm2013/files/patch-src__c__bav__GNUmakefile
new file mode 100644
index 000000000000..5698aa08b752
--- /dev/null
+++ b/mail/openemm2013/files/patch-src__c__bav__GNUmakefile
@@ -0,0 +1,19 @@
+--- src/c/bav/GNUmakefile.orig 2013-09-11 08:30:37 UTC
++++ src/c/bav/GNUmakefile
+@@ -20,13 +20,13 @@
+ # Contributor(s): AGNITAS AG.
+ ##################################################################################
+
+-CC = gcc
+-CFLAGS = -I../lib $(shell sa-config --cflags) -pthread
++CC = clang
++CFLAGS = -I../lib -I/usr/local/lib -I/usr/local/include $(shell sa-config --cflags) -pthread
+ LDFLAGS = -L../lib $(shell sa-config --ldflags) -pthread
+ # required for Ubuntu 9.10 by user request
+ LDFLAGS := $(LDFLAGS) -L/usr/lib/libmilter
+ #
+-LIBS = -lagn -lmilter $(shell sa-config --libs)
++LIBS = -lagn -lmilter -lex $(shell sa-config --libs)
+ SRCBAV = bav.c cfg.c
+ SRCWRP = bavwrap.c store.c
+ OBJBAV = $(SRCBAV:%.c=%.o)