summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ksig/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/ksig/Makefile b/mail/ksig/Makefile
index 1c9e1ba92575..e43b7106bb0c 100644
--- a/mail/ksig/Makefile
+++ b/mail/ksig/Makefile
@@ -15,7 +15,12 @@ COMMENT= Tool for managing a collection of e-mail signatures
USE_KDELIBS_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+
.include <bsd.port.mk>