summaryrefslogtreecommitdiffstats
path: root/devel/openzz
diff options
context:
space:
mode:
Diffstat (limited to 'devel/openzz')
-rw-r--r--devel/openzz/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/openzz/Makefile b/devel/openzz/Makefile
index dad17ce..ff482a1 100644
--- a/devel/openzz/Makefile
+++ b/devel/openzz/Makefile
@@ -18,7 +18,13 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
post-patch:
@${PERL} -pi -e "s/cfree/free/g" ${WRKSRC}/src/list.c
+.if ${OSVERSION} <= 500027
+ @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${PERL} -pi \
+ -e 's|<stdint.h>|<inttypes.h>|'
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud