diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2003-12-09 18:42:22 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2003-12-09 18:42:22 +0000 |
commit | 51d92e7babb9e965163402257113c778b629cb3e (patch) | |
tree | 3adaaabc82a2a61a749e7207893bd45300aef9e6 /mail/milter-regex | |
parent | b6cbd157d4e0c1bf503406cab2b3ccc2dfec090b (diff) | |
download | ports-51d92e7babb9e965163402257113c778b629cb3e.tar.gz ports-51d92e7babb9e965163402257113c778b629cb3e.zip |
Enable compilation on FreeBSD 5.2-BETA by avoiding "log" namespace
conflict.
PR: 59975
Submitted by: Volker Stolz of the Lehrstuhl fur Informatik II at
RWTH Aachen
Notes
Notes:
svn path=/head/; revision=95486
Diffstat (limited to 'mail/milter-regex')
-rw-r--r-- | mail/milter-regex/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile index 700e12c6eea8..3fb7b5e43e35 100644 --- a/mail/milter-regex/Makefile +++ b/mail/milter-regex/Makefile @@ -25,8 +25,12 @@ pre-everything:: .endif post-patch: - ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig - ${SED} -E "s:-I/usr/src/gnu/usr.sbin/sendmail/include:${PTHREAD_CFLAGS}:g;s:-lpthread:${PTHREAD_LIBS}:g" < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile +.for ii in Makefile milter-regex.c rules.c + ${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.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 pre-install: ${ECHO_CMD} libexec/milter-regex > ${PLIST} |