From d64886fbca5a8bc83a0e276f1bb0016bb992a2bc Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 12 Feb 2012 03:38:52 +0000 Subject: [PATCH] - Fix build with clang PR: ports/164974 Submitted by: James Kelly --- mail/libspf2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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