1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/benchmarks/nbench/files/patch-ad
Chris D. Faulhaber ef2ecca4b3 - Support PREFIX/CC/CFLAGS properly
- Support NOPORTDOCS
- Add WWW: line into pkg/DESCR

PR:		20148
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-08-01 23:37:02 +00:00

16 lines
462 B
Plaintext

--- Makefile.orig Fri Dec 12 05:54:46 1997
+++ Makefile Tue Jul 25 02:27:40 2000
@@ -22,10 +22,10 @@
# you should leave -static in the CFLAGS so that your sysinfo can be
# compiled into the executable
-CC = gcc
+CC ?= gcc
# generic options for gcc
-CFLAGS = -s -static -Wall -O3
+CFLAGS += -static -DDATADIR=\"${PREFIX}/share/nbench/\"
# if your gcc lets you do it, then try this one
#CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops