diff options
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} |