aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-regex
diff options
context:
space:
mode:
Diffstat (limited to 'mail/milter-regex')
-rw-r--r--mail/milter-regex/Makefile8
-rw-r--r--mail/milter-regex/distinfo2
2 files changed, 4 insertions, 6 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile
index 3fb7b5e43e35..83e5c0186c12 100644
--- a/mail/milter-regex/Makefile
+++ b/mail/milter-regex/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= milter_regex
-PORTVERSION= 0.6
+PORTVERSION= 0.7
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/
DISTNAME= milter-regex-${PORTVERSION}
@@ -25,12 +25,10 @@ pre-everything::
.endif
post-patch:
-.for ii in Makefile milter-regex.c rules.c
- ${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
${SED} -e "s:-lpthread:${PTHREAD_LIBS}:g; \
s:-I/usr/src/gnu/usr.sbin/sendmail/include:${PTHREAD_CFLAGS}:g; \
- s/[[:<:]]log(/milterlog(/g" < ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
-.endfor
+ s/-Werror//g" < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
pre-install:
${ECHO_CMD} libexec/milter-regex > ${PLIST}
diff --git a/mail/milter-regex/distinfo b/mail/milter-regex/distinfo
index b110ced26897..efbedc3b22a4 100644
--- a/mail/milter-regex/distinfo
+++ b/mail/milter-regex/distinfo
@@ -1 +1 @@
-MD5 (milter-regex-0.6.tar.gz) = 1f65e2a14e791af2a8395ce81081400d
+MD5 (milter-regex-0.7.tar.gz) = 806c93cd536e37c5beed0f4c92117a72