diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile index 0db7534618f7..9f69eb86ba26 100644 --- a/mail/libspf2/Makefile +++ b/mail/libspf2/Makefile @@ -22,7 +22,7 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes post-patch: - @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/__VA_ARGS__/ s|format, ||g' ${WRKSRC}/src/include/spf_log.h .include