opnsense-ports/mail/openemm2013/files/patch-src__c__bav__GNUmakefile
Franco Fichtner af917a9939 */*: sync with upstream
Taken from: FreeBSD
2015-10-18 12:11:41 +02:00

19 lines
722 B
Text

--- 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)