Date: Wed, 8 Sep 2004 02:41:33 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: billf@FreeBSD.org Subject: ports/71473: [PATCH] benchmarks/nttcp: unbreak Message-ID: <20040907184133.48FFE3EADE2@utopia.leeym.com> Resent-Message-ID: <200409071850.i87IoLrE047084@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 71473 >Category: ports >Synopsis: [PATCH] benchmarks/nttcp: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 07 18:50:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA3 i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #1: Sun Sep 5 01:06:46 CST >Description: - rename ARCH to _ARCH_ to avoid variable naming conflict and unbreak this port. (ARCH is defined as the output of "/usr/bin/uname -p" in bsd.port.mk) Port maintainer (billf@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/i386-5-latest/nttcp-1.47_1.log >Fix: --- nttcp-1.47_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/benchmarks/nttcp/Makefile,v retrieving revision 1.11 diff -u -u -r1.11 Makefile --- Makefile 6 Feb 2004 13:10:54 -0000 1.11 +++ Makefile 7 Sep 2004 18:38:32 -0000 @@ -21,6 +21,10 @@ PLIST_FILES= bin/nttcp USE_GMAKE= yes MAKE_ENV+= OPT="${CFLAGS}" +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e s,ARCH,_ARCH_,g ${WRKSRC}/${MAKEFILE} do-install: --- nttcp-1.47_1.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?20040907184133.48FFE3EADE2>