Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2011 12:12:33 -0800
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163086: [patch] benchmarks/iozone: respect CC & ALL_TARGET
Message-ID:  <1RXeu8-000KLB-Kc@internal.tormail.net>
Resent-Message-ID: <201112052020.pB5KKBQe094613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RXeu8-000KLB-Kc>