From owner-freebsd-ports@FreeBSD.ORG Sun Nov 2 09:47:22 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D818A16A4CE; Sun, 2 Nov 2003 09:47:22 -0800 (PST) Received: from helo.liwing.de (helo.liwing.de [213.70.188.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5E0643FBD; Sun, 2 Nov 2003 09:47:21 -0800 (PST) (envelope-from root@helo.liwing.de) Received: from helo.liwing.de (localhost.liwing.de [127.0.0.1]) by helo.liwing.de (8.12.9p2/8.12.9) with ESMTP id hA2HlKUn053178; Sun, 2 Nov 2003 17:47:20 GMT (envelope-from root@helo.liwing.de) Received: (from root@localhost) by helo.liwing.de (8.12.9p2/8.12.9/Submit) id hA2HlJFj053177; Sun, 2 Nov 2003 17:47:19 GMT (envelope-from root) Date: Sun, 2 Nov 2003 17:47:19 GMT Message-Id: <200311021747.hA2HlJFj053177@helo.liwing.de> To: FreeBSD-gnats-submit@freebsd.org From: Jens Rehsack X-send-pr-version: 3.113 X-GNATS-Notify: cc: ports@freebsd.org cc: Jens Rehsack Subject: [PATCH] benchmarks/autobench didn't respect CFLAGS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jens Rehsack List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 17:47:23 -0000 >Submitter-Id: current-users >Originator: Jens Rehsack >Organization: LiWing IT-Services >Confidential: no >Synopsis: [PATCH] benchmarks/autobench didn't respect CFLAGS >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.1-CURRENT i386 >Environment: System: FreeBSD statler 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Oct 21 09:54:47 GMT 2003 root@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 ---