aboutsummaryrefslogtreecommitdiff
path: root/mail/kavmilter/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/kavmilter/files/patch-Makefile')
-rw-r--r--mail/kavmilter/files/patch-Makefile28
1 files changed, 25 insertions, 3 deletions
diff --git a/mail/kavmilter/files/patch-Makefile b/mail/kavmilter/files/patch-Makefile
index c5b3d348277f..d2235b91c51a 100644
--- a/mail/kavmilter/files/patch-Makefile
+++ b/mail/kavmilter/files/patch-Makefile
@@ -1,6 +1,28 @@
---- Makefile.orig Mon Jun 16 22:58:51 2003
-+++ Makefile Mon Jun 16 22:58:44 2003
-@@ -58,6 +58,11 @@
+--- Makefile.orig Thu Jun 12 19:19:59 2003
++++ Makefile Mon Jul 7 06:57:24 2003
+@@ -38,11 +38,11 @@
+ VARDIR=/var
+ PIDDIR=$(VARDIR)/run
+
+-LIBS=-lmilter -lgnugetopt -lconf
++LIBS=-lmilter -lconf
+ DEFS=-DCONFIG="\"$(PREFIX)/etc/kavmilter.conf\""
+
+-CFLAGS += -Wall -pipe $(INCDIRS)
+-LDFLAGS += -pthread
++CFLAGS += -Wall -pipe $(INCDIRS) $(CPPFLAGS)
++#LDFLAGS += ${PTHREAD_LIBS}
+ #
+ # Remove command
+ RMF = -/bin/rm -f
+@@ -51,13 +51,16 @@
+ echo $(CFLAGS)
+ $(CC) -c $(DEFS) $(CFLAGS) $<
+
+-CC=gcc
+-
+ all: $(BINS)
+
$(OBJS): $(HEADERS)
install: kavmilter stop