ports/71473: [PATCH] benchmarks/nttcp: unbreak

Yen-Ming Lee leeym at FreeBSD.org
Tue Sep 7 18:50:22 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list