Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/openzz/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 13 May 2002 19:06:04 -0000 1.1 +++ Makefile 22 May 2002 11:45:50 -0000 @@ -18,7 +18,17 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes +.include + post-patch: +.if ${OSVERSION} < 500036 @${PERL} -pi -e "s/cfree/free/g" ${WRKSRC}/src/list.c +.else + ${SED} -i.orig -e "s/cfree/free/g" ${WRKSRC}/src/list.c +.endif +.if ${OSVERSION} <= 500027 + @${FIND} ${WRKSRC}/src -type f | ${XARGS} -n 10 -x ${PERL} -pi \ + -e 's|||' +.endif -.include +.include