diff options
author | trevor <trevor@FreeBSD.org> | 2003-12-09 18:42:22 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-12-09 18:42:22 +0000 |
commit | 287796ad7449cf38f16de9f0c2ab73c534821c5d (patch) | |
tree | 219f9872af2671e35aed3d3d5c1a1f985ab8279a /mail/milter-regex | |
parent | 3cf07a3eb09a52837a0672d0f75f353cdbb63414 (diff) | |
download | FreeBSD-ports-287796ad7449cf38f16de9f0c2ab73c534821c5d.zip FreeBSD-ports-287796ad7449cf38f16de9f0c2ab73c534821c5d.tar.gz |
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
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 700e12c..3fb7b5e4 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} |