Date: Mon, 17 Oct 2005 00:41:44 -0200 (BRST) From: Marcus Alves Grando <mnag@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87550: Update port: misc/zaptel to build on 4.x Message-ID: <20051017024144.E6FC510A@marcus.grupos.com.br> Resent-Message-ID: <200510170250.j9H2oDTN047309@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87550 >Category: ports >Synopsis: Update port: misc/zaptel to build on 4.x >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Oct 17 02:50:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Alves Grando >Release: FreeBSD 6.0-RC1 i386 >Organization: >Environment: System: FreeBSD marcus.grupos.com.br 6.0-RC1 FreeBSD 6.0-RC1 #50: Mon Oct 17 00:32:03 BRST 2005 root@marcus.grupos.com.br:/space/obj/usr/src/sys/MARCUS i386 >Description: Fix build on 4.x >How-To-Repeat: >Fix: --- zaptel.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/misc/zaptel/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 30 Sep 2005 01:25:58 -0000 1.14 +++ Makefile 15 Oct 2005 20:35:37 -0000 @@ -17,6 +17,8 @@ LIB_DEPENDS= newt.51:${PORTSDIR}/devel/newt +USE_REINPLACE= yes + NO_PACKAGE= Should be in sync with the kernel to work correctly ONLY_FOR_ARCHS= i386 @@ -31,6 +33,11 @@ ${FALSE}; \ fi +post-patch: + @${REINPLACE_CMD} -e "s|<getopt.h>|<unistd.h>|g" \ + ${WRKSRC}/test/ztmonitor.c ${WRKSRC}/test/zttool.c \ + ${WRKSRC}/ztcfg/ztcfg.c + pre-install: @${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \ ${PKGMESSAGE} --- zaptel.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051017024144.E6FC510A>