aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/sagasu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/sagasu/Makefile b/textproc/sagasu/Makefile
index a17e574ae947..259988fad9f4 100644
--- a/textproc/sagasu/Makefile
+++ b/textproc/sagasu/Makefile
@@ -27,5 +27,7 @@ MAN1= sagasu.1
post-patch:
@${REINPLACE_CMD} -e 's|[(]datadir[)]/doc/$$(PACKAGE)-$$(VERSION)|(prefix)/share/doc/$$(PACKAGE)|g' \
${WRKSRC}/Makefile.in
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-D.*_DISABLE_DEPRECATED||g'
.include <bsd.port.mk>