pkgsrc/benchmarks/bytebench/patches/patch-ab
jlam bf18695c94 Update bytebench to 4.1.0. Pkgsrc changes from the previous package include
moving the state directory for bytebench to /var/benchmarks instead of
trying to keep state in ${PREFIX}/share/bytebench.  Distribution changes
from version 3.6 include:

	* Double precision Whetstone instead of the old "double" benchmark.
	* Removal of some obsolete files.
	* "system" suite adds shell8.
	* perlbench and poll added as "exhibition" (non-index) benchmarks.
	* Minor change to fstime.c to fix overflow problems on fast machines.
	* A lot more operating system-oriented tests into the index.
	* Many tests rewritten to be more relevant for modern processors.
	* New baseline: SPARCstation 20-61 with 128 MB RAM, a SPARC Storage
	  Array, and Solaris 2.3
2002-01-09 11:24:36 +00:00

24 lines
634 B
Text

$NetBSD: patch-ab,v 1.2 2002/01/09 11:24:37 jlam Exp $
--- Makefile.orig Wed Jul 28 15:05:02 1999
+++ Makefile
@@ -31,8 +31,8 @@
ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15";
SHELL = /bin/sh
#HZ = ???? #(read from environment)
-CFLAGS = -DTIME
-CC=gcc
+CFLAGS += -DTIME
+#CC=gcc
## For Linux 486/Pentium, GCC 2.7.x and 2.8.x
#OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math \
@@ -54,7 +54,7 @@
#CFLAGS = -DTIME -std1 -verbose -w0
## generic gcc CFLAGS. -DTIME must be included
-CFLAGS = -DTIME -Wall -pedantic -ansi
+CFLAGS += -DTIME -Wall -pedantic -ansi
# local directories
PROGDIR = ./pgms