ports/163086: [patch] benchmarks/iozone: respect CC & ALL_TARGET

Jan Beich jbeich at tormail.net
Mon Dec 5 20:20:11 UTC 2011


>Number:         163086
>Category:       ports
>Synopsis:       [patch] benchmarks/iozone: respect CC & ALL_TARGET
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 05 20:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
According to do-build in bsd.port.mk ALL_TARGET is supposed to contain
the target used for building a port, not MAKE_ARGS which is often
used to override variables.
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/iozone-3.370.log
>Fix:
--- cc.diff begins here ----
Index: benchmarks/iozone/Makefile
===================================================================
RCS file: /a/.csup/ports/benchmarks/iozone/Makefile,v
retrieving revision 1.61
diff -u -p -r1.61 Makefile
--- benchmarks/iozone/Makefile	19 Nov 2011 15:15:09 -0000	1.61
+++ benchmarks/iozone/Makefile	5 Dec 2011 19:32:25 -0000
@@ -20,8 +20,8 @@ CONFLICTS=	iozone-2.*
 WRKSRC=		${WRKDIR}/${DISTNAME}/src/current
 
 MAKEFILE=	makefile
-MAKE_ARGS=	freebsd	CFLAGS="${CFLAGS}"
-ALL_TARGET=
+MAKE_ARGS=	${MAKE_ENV}
+ALL_TARGET=	freebsd
 MAKE_JOBS_UNSAFE=	yes
 
 MAN1=		iozone.1
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list