ports/58838: [PATCH] benchmarks/autobench didn't respect CFLAGS

Jens Rehsack rehsack at liwing.de
Sun Nov 2 17:50:18 UTC 2003


>Number:         58838
>Category:       ports
>Synopsis:       [PATCH] benchmarks/autobench didn't respect CFLAGS
>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:   Sun Nov 02 09:50:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jens Rehsack
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
LiWing IT-Services
>Environment:
System: FreeBSD statler 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Oct 21 09:54:47 GMT 2003 root at statler:/usr/obj/usr/src/sys/STATLER i386


	
>Description:
	The web-bench benchmarks/autobench don't respect CFLAGS set in
	/etc/make.conf. Attached shar contains a patch which solves
	that.
>How-To-Repeat:
	
>Fix:

	

--- shar.patch-Makefile begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	benchmarks/autobench/files/
#	benchmarks/autobench/files/patch-Makefile
#
echo c - benchmarks/autobench/files/
mkdir -p benchmarks/autobench/files/ > /dev/null 2>&1
echo x - benchmarks/autobench/files/patch-Makefile
sed 's/^X//' >benchmarks/autobench/files/patch-Makefile << 'END-of-benchmarks/autobench/files/patch-Makefile'
X--- Makefile.orig	Sat Nov  1 17:15:35 2003
X+++ Makefile	Sat Nov  1 17:16:01 2003
X@@ -20,9 +20,9 @@
X endif
X 
X # Compiler & flags
X-CC=gcc
X-CFLAGS=-O2 -Wall
X-DEBUG_FLAGS=-Wall -g
X+CC?=gcc
X+CFLAGS?=-O2 -Wall
X+DEBUG_FLAGSi?=-Wall -g
X 
X all: crfile sesslog
X 
END-of-benchmarks/autobench/files/patch-Makefile
exit
--- shar.patch-Makefile ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list