aboutsummaryrefslogtreecommitdiff
path: root/devel/openzz
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 12:08:01 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-05-22 12:08:01 +0000
commit2db7ccc2685c550c3cc0920e0d3f13bddab1e4ab (patch)
tree93deb1c8b8762c0ac2d4badd8d10ab0ba0997ab1 /devel/openzz
parent0a4681b2a217db20fbc19b783ccaaca0881b98e4 (diff)
downloadports-2db7ccc2685c550c3cc0920e0d3f13bddab1e4ab.tar.gz
ports-2db7ccc2685c550c3cc0920e0d3f13bddab1e4ab.zip
Fix on 4-STABLE.
PR: 38410 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=59691
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 dad17ceea07f..ff482a134861 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>