Date: Wed, 22 May 2002 13:46:27 +0200 (CEST) From: Oliver Braun <obraun@informatik.unibw-muenchen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/38410: Fix port for 4.6-R: devel/openzz Message-ID: <20020522114627.8F7E75A549@nemesis.informatik.unibw-muenchen.de>
next in thread | raw e-mail | index | archive | help
>Number: 38410 >Category: ports >Synopsis: Fix port for 4.6-R: devel/openzz >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 22 05:00:06 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Oliver Braun >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: >Environment: System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Thu May 2 11:59:09 CEST 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386 >Description: Fix also for a world without perl. Regards, Olli >How-To-Repeat: >Fix: 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 <bsd.port.pre.mk> + 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|<stdint.h>|<inttypes.h>|' +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020522114627.8F7E75A549>