summaryrefslogtreecommitdiff
path: root/mail/milter-regex/patches/patch-ab
blob: ce5d6e06bad297d7b3e4276c3870d14663f0eafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.2 2008/08/09 17:26:36 tron Exp $

--- Makefile.orig	2007-01-11 15:49:52.000000000 +0000
+++ Makefile	2008-07-31 11:53:15.000000000 +0100
@@ -4,9 +4,9 @@
 SRCS=	milter-regex.c eval.c parse.y
 MAN=	milter-regex.8
 
-CFLAGS+=	-Wall -Wstrict-prototypes -O0 -g
-CFLAGS+=	-I/usr/src/gnu/usr.sbin/sendmail/include -I..
-LDADD+=		-lmilter -lpthread -g
+CFLAGS+=	-Wall -Wstrict-prototypes
+#CFLAGS+=	-I/usr/src/gnu/usr.sbin/sendmail/include -I..
+LDADD+=		-lmilter ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 
 install:
 	sudo rm -rf /usr/local/libexec/milter-regex