mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
a6f56c0200
Noticed by: My new Ultra 30
39 lines
1009 B
Plaintext
39 lines
1009 B
Plaintext
--- src/Makefile.orig Sat Nov 11 18:42:41 1995
|
|
+++ src/Makefile Thu Apr 4 05:19:26 2002
|
|
@@ -27,7 +27,7 @@
|
|
# I finally know why Larry Wall's Makefile says "Grrrr".
|
|
SHELL=/bin/sh
|
|
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
O= ../bin/unknown
|
|
OS=`../scripts/os`
|
|
BINDIR=../bin/$(OS)
|
|
@@ -37,7 +37,7 @@
|
|
lmbench/Results/osf1/alpha lmbench/Results/solaris/ss20*
|
|
|
|
SYS5=
|
|
-CFLAGS = -O $(SYS5)
|
|
+CFLAGS += $(SYS5)
|
|
|
|
COMPILE=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
|
|
|
@@ -93,7 +93,7 @@
|
|
$(MAKE) O=$O CC=cc CFLAGS="$(CFLAGS)" all
|
|
|
|
bsd:
|
|
- $(MAKE) O=$O CC=$(CC) CFLAGS="$(CFLAGS) -Duint='unsigned int'" all
|
|
+ $(MAKE) O=$O CC=$(CC) CFLAGS="$(CFLAGS)" all
|
|
|
|
Wall:
|
|
@$(MAKE) clean
|
|
@@ -131,7 +131,7 @@
|
|
|
|
$O/lat_pagefault: lat_pagefault.c timing.c bench.h
|
|
if [ $O = ../bin/linux -o $O = ../bin/bsd ]; \
|
|
- then cp /bin/true $O/lat_pagefault; \
|
|
+ then cp /usr/bin/true $O/lat_pagefault; \
|
|
else $(COMPILE) -o $O/lat_pagefault lat_pagefault.c $(LDLIBS); \
|
|
fi
|
|
|